intermediate

These tutorials are for developers who already understand the basics of Python and they would like to expand their knowledge

wxPython 101 – wx.NewId() is Deprecated!

Deprecation warnings are handy ways for open-source maintainers to alert their users that some part of their package is no longer going to be supported. Good maintainers will provide migration guides that tell you what to do when you see a deprecation warning. You don’t want to ignore a deprecation warning because it alerts you […]

wxPython 101 – wx.NewId() is Deprecated! Read More »

An Intro to Protocol Buffers with Python

Protocol buffers are a data serialization format that is language agnostic. They are analogous to Python’s own pickle format, but one of the advantages of protocol buffers is that they can be used by multiple programming languages. For example, Protocol buffers are supported in C++, C#, Dart, Go, Java, Kotlin, Objective-C, PHP, Ruby, and more

An Intro to Protocol Buffers with Python Read More »

Textual 101 – Using the TabbedContent Widget

Textual is a text-based user interface library (TUI) for the Python programming language. With Textual, you can create beautiful cross-platform TUI applications. If you would like more information, see An Intro to Textual – Creating Text User Interfaces with Python In this article, you will learn how to created a tabbed interface in your terminal

Textual 101 – Using the TabbedContent Widget Read More »

An Intro to Textual – Creating Text User Interfaces with Python

Textual is a Python package used to create cross-platform Text User Interfaces (TUI). This may sound like you’ll be creating a user interface with ASCII-art, but that is not the case. Textual is quite advanced and allows you to add widgets to your terminal applications, including buttons, context switchers, scroll bars, checkboxes, inputs and more.

An Intro to Textual – Creating Text User Interfaces with Python Read More »

Batch APIs reduce network round trips

Using Asyncio and Batch APIs for Remote Services

Introduction to Batch APIs In modern Python applications, it’s common to access remote API using REST or other web-based technologies. Batch APIs are capable of processing multiple requests with a single call. You can use batch APIs to reduce the number of network calls to the remote service. This is ideal when you have to

Using Asyncio and Batch APIs for Remote Services Read More »

Python 101 – Type Hinting in Python (Video)

Learn all about type hinting (AKA type annotation) in this tutorial by Mike Driscoll What You’ll Learn  Pros and Cons of Type Hinting Built-in Type Hinting / Variable Annotation Collection Type Hinting Hinting Values That Could be None Type Hinting Functions What To Do When Things Get Complicated Classes Decorators Aliasing Other Type Hints This

Python 101 – Type Hinting in Python (Video) Read More »

An Intro to the contextlib Module in Python (Video)

Learn how to create different types of context managers using Python’s contextlib module! You can learn more in the contextlib documentation. Related Articles Python’s with Statement and Context Managers Python 3.10 – Parenthesized Context Managers wxPython’s Context Managers Python 201 – An Intro to Context Managers

An Intro to the contextlib Module in Python (Video) Read More »

An Intro to Context Managers in Python (Video)

Context managers are a handy way to open and close files, dialogs, thread-locks and so much more! Check out this short tutorial that introduces you to the concepts of context managers by Mike Driscoll Related Articles Python’s with Statement and Context Managers Python 3.10 – Parenthesized Context Managers wxPython’s Context Managers Python 201 – An

An Intro to Context Managers in Python (Video) Read More »