Python Library Blog
4,483 FOLLOWERS
Python Programming from the Frontlines
Python Library Blog
2w ago
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 […]
The post Textual – The New MaskedInput Widget appeared first on Mouse Vs Python ..read more
Python Library Blog
2w ago
My Kickstarter for my latest Python book is still going on for another eight days. Now is a great time to pre-order the book as well as get my other Python books. The project is fully funded, and I added a stretch goal. Stretch Goal The stretch goal is $5000 or 350 backers. If we reach […]
The post JupyterLab 101 Kickstarter Stretch Goal appeared first on Mouse Vs Python ..read more
Python Library Blog
1M ago
My latest Python book is now available for pre-order on Kickstarter. JupyterLab, the latest iteration of the Jupyter Notebook, is a versatile tool for sharing code in an easily understandable format. Hundreds of thousands of people around the world use Jupyter Notebooks or variations of the Notebook architecture for any or all of the following: […]
The post ANN: JupyterLab 101 Kickstarter appeared first on Mouse Vs Python ..read more
Python Library Blog
1M ago
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 […]
The post How to Plot in the Terminal with Python and Textualize appeared first on Mouse Vs Python ..read more
Python Library Blog
2M ago
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 […]
The post Creating Progress Bars in Your Terminal with Python and Textual appeared first on Mouse Vs Python ..read more
Python Library Blog
2M ago
Have you ever needed a progress bar in your Python command-line application? One great way of creating a progress bar is to use the alive-progress package created by Rogério Sampaio de Almeida! Alive progress provides multiple different types of progress bars in your terminal or IPython REPL session. The alive progress package will work with […]
The post Create Amazing Progress Bars in Python with alive-progress appeared first on Mouse Vs Python ..read more
Python Library Blog
2M ago
Have you ever wanted to show a pandas DataFrame in your terminal? Of course, you have! All you need is the textual-pandas package! Yes, you can also view a pandas DataFrame in a REPL, such as IPython or Jupyter Notebook, but you can write a TUI application with textual-pandas and use that to display pandas […]
The post Displaying Pandas DataFrames in the Terminal appeared first on Mouse Vs Python ..read more
Python Library Blog
2M ago
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 […]
The post ANN: ObjectListView3 for wxPython appeared first on Mouse Vs Python ..read more
Python Library Blog
4M ago
Do you have a Python package that you’d like to share with the world? You should publish it on the Python Package Index (PyPI). The vast majority of Python packages are published there. The PyPI team has also created extensive documentation to help you on your packaging journey. This article does not aim to replace that documentation. Instead, it is just a shorter version of it using ObjectListView as an example.
The ObjectListView project for Python is based on a C# wrapper .NET ListView but for wxPython. You use ObjectListView as a replacement for wx.ListCtrl because its methods and attribut ..read more
Python Library Blog
4M ago
The latest Python book from Michael Driscoll is now out. You can get Python Logging today on any of your favorite platforms! The Kindle version of the book is only 99 cents for a limited time!
What does every new developer do when they are first learning to program? They print out strings to their terminal. It’s how we learn! But printing out to the terminal isn’t what you do with most professional applications.
In those cases, you log in. Sometimes, you log into multiple locations at once. These logs may serve as an audit trail for compliance purposes or help the engineers debug what we ..read more