intermediate

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

Textual – The New MaskedInput Widget

Textual v0.80.0 was released today, and it included the brand-new MaskedInput widget. If you have used other GUI toolkits, such as wxPython, you might already be familiar with a masked input widget. These widgets allow you to control the user’s input based on a mask string that the developer provides when instantiating the widget. Let’s spend

Textual – The New MaskedInput Widget Read More »

How to Plot in the Terminal with Python and Textualize

Have you ever wanted to create a plot or graph in your terminal? Okay, maybe you haven’t, but now that you know you can, you want to! Python has the plotext package for plotting in your terminal. However, while that package is amazing all on its own, there is another package called textual-plotext that wraps

How to Plot in the Terminal with Python and Textualize Read More »

Creating Progress Bars in Your Terminal with Python and Textual

The Textual package is a great way to create GUI-like applications with Python in your terminal. These are known as text-based user interfaces or TUIs. Textual has many different widgets built-in to the framework. One of those widgets is the ProgressBar. If you need to show the progress of a download or long-running process, then

Creating Progress Bars in Your Terminal with Python and Textual Read More »

ANN: ObjectListView3 for wxPython

ObjectListView is a third-party wxPython widget that wraps the wx.ListCtrl. I have used it for over 10 years in quite a few different GUI applications because it works much nicer than wx.ListCtrl does. Unfortunately, ObjectListView was never integrated into wxPython core like some other amazing third-party packages were, and so it has become broken over

ANN: ObjectListView3 for wxPython Read More »

How to Read and Write Parquet Files with Python

Apache Parquet files are a popular columnar storage format used by data scientists and anyone using the Hadoop ecosystem. It was developed to be very efficient in terms of compression and encoding. Check out their documentation if you want to know all the details about how Parquet files work. You can read and write Parquet

How to Read and Write Parquet Files with Python Read More »

How to Watermark a Graph with Matplotlib

Matplotlib is one of the most popular data visualization packages for the Python programming language. It allows you to create many different charts and graphs. This tutorial focuses on adding a “watermark” to your graph. If you need to learn the basics, you might want to check out Matplotlib—An Intro to Creating Graphs with Python.

How to Watermark a Graph with Matplotlib Read More »

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 »