python code snippets Vol 22: All work on Windows and Linux. White Noise Generator, Display Module Attributes, Insert Image On Every Page Of A PDF, Validate Email Address, Masked Password Entry Box.
Using lambda for tkinter callbacks in a loop can be confusing, the answer is to use functools. In this short article I take a look at an example.
Python Code Snippets 21. Here we go with the start of the next 100 bits of code. Five snippets including: Using Tkinters Internal Bitmaps And Cursors, Tkinter ToolTip, Webbrowser trick, Scrolled text reader, Tkinter menu check mark. All beginner friendly of course.
TIM-Another Update-V1.70. Although I did okay with updating TIM last time, it still left me feeling like I had failed on too many issues.
A useful little Python secret ? I have stumbled upon what looks like an undocumented feature in the built in Python webbrowser module. I have found it to be very useful when making my programs cross platform.
TIM-The Insult Machine. Update V1.52. In this update is a new feature, GUI improvements and a Linux version.
The Best Of Python Newb Code Snippets. To mark the occasion of getting to the 100th Newb Code Snippet, it took 8 months, I thought it might be a nice idea to gather together my personal favourites in one post.