Tag: python
Flet Color Picker Dialog Class
I am working on a project and decided on Flet for the interface. Flet does not include a color picker dialog. Here is what I came up with, a simple Python class. I hope it’s can be useful for others. What the hell is Flet? “Flet enables developers to easily build realtime web, mobile and […]
Install NovelWriter in an isolated Environment with Pipx
novelWriter is a Python GUI program used for authoring novels and short stories. Pipx will isolate all the various libraries and source code without the need to create a virtual environment or simply installing in the system’s Python environment. For this how-to I will be installing on Fedora 37 but this should be a similar […]
Copy playlists from Lollipop music player on Linux to iPhone
Copy music on Linux to iPhone the easy way with this simple script and Lollipop music player.
A Simple Python Flask Web App
There are times when you need a very simply tool to do something rather trivial that needs to be accessible to various users. If it’s simple enough it seems rather silly to stand a server and install Apache to make some simple configuration changes. This is where Flask can shine. Let’s take a look at […]
Sort list by column preserving index.
This is yet another reason I love Python! This is good for something like generating HTML tables with rowspans that you want sorted. Each tuple is a row, each item in the tuple is a cell. If you sort this data it will change the index so if you set a rowspan on the first […]
pyGUI & wake a sleeping Mac example.
I started playing around with pyGUI a year or two ago, which allows fast gui development on OS X, Windows, and Linux from Python. I wrote a little app to wake up Macs awhile back and packaged it as a standard Mac bundle. In theory the raw Python should run on Windows, but be aware […]
Get duplicate files with Python and Objective-C
I put together a little script to find duplicate files using pure Python, and it’s pretty quick too. It comes in handy as I do a lot of graphic work where I end up with tons of files as I work, I am paranoid I suppose but losing hours of work has made me this […]
Random Number Generator in Python and Objective-C
If you want a simple number generator for say picking Keno, lotto, or self made contests, here’s just how simple it is to do in Python. I was listening to Linux Outlaws awhile back and they were using a couple of different scripts to generate winners for a contest so why not write one real […]
Geektool + Python = Desktop Weather (& moonphase)
I had some free time today and was playing with Geektool, which is like the desktop toys I used to play with years ago on Linux – SuperKaramba comes to mind. I wrote a Python script as an example to do some weather stuff, which can be edited to work behind the scenes or to […]