Posts in Category: python

Python script for analysis of PM2.5 pollution

Python script for analysis of PM2.5 pollution

Posted on 9th Aug 2025

In my area, there is a permanently installed meter for measuring the PM25 pollution, as other pollutants also. The state, gives free access to these measurements, but doesn't say anything on how to analyze them. So, i figured to ask ChatGPT about it :) and i think it did a good job. I only post this...

Dragster...

Dragster...

Posted on 20th Jan 2025

Lately i found my self, looking for ways to make stuff more quickly. One way, for sure is the terminal, but still not everything can be done with a terminal and sometimes is quicker to drag'n'drop something, somewhere, than open a terminal cd to a directory and execute a command. Even with GUI app...

Draw on X11 desktop with python using xlib

Draw on X11 desktop with python using xlib

Posted on 10th Jan 2025

This is a small example on how to draw some text, on a X11 Desktop, with Python and XLib. Nothing fancy... the script can output any text given in the command line and also use colors and a font you prefer. I made it, as a way to display info on the desktop, even when using fullscreen applications l...

Trackpad to Keyboard emulation (Hackberry Pi)

Trackpad to Keyboard emulation (Hackberry Pi)

Posted on 26th Dec 2024

As you may know, i have a Hackberry Pi, which has a trackpad. The trackpad it self, is excellent to use in GUI but it has no use at plain TTY terminal, which is what i use most, while operating the Hackberry. So, i had to found a way, to emulate the trackpad movements into keyboard keys, to use in...

DELTREE command in Python

DELTREE command in Python

Posted on 18th Dec 2024

One of the most useful commands when i used DOS, was deltree. Quickly and easy, deleting large areas of the hard disk, with no point of return... In Linux, there isn't such a command, or perhaps, it's a bit disguised, but never the less, it hasn't the features of the original deltree command or...