My visitors went home today. I always have a tough time getting used to
having a houseful of people. Then I do get used to them and miss the buzz
of conversation when they leave.
I am suddenly reacting to insect bites. In the past, I never got any
swelling or itching. This year, my bites are big red and yellow welts
and they're miserably itchy! Weird.
* * *
In the thinking-out-loud category, I was pondering how to (unofficially)
package up my radio streaming app for Debian this evening, and the
funniest thing occurred to me: that I could stick a teeny-tiny C program
into the .deb package to serve as a launcher for the python script.
Voila:
#include <stdlib.h>
int main (void){
system("python3 /path/to/program_name.py");
}
The little C program would be called program_name and would be installed
in /usr/bin or somewhere else in the path along with program_name.py.
The user types program_name and the C program launches the script.
There are a number of utilities that will "debianize" your python script
for you, but I like to know how things work, even if the method of
getting there is hacky.