@hgfernan @mdione Only if the module is poorly written. A good module won't run any code when it just gets imported, or if anything just the bare minimum needed to do its own imports.
I almost started bashing (#python'ing?) my head against the desk because I only read this for the first time ever:
> The functions `debug()`, `info()`, `warning()`, `error()` and `critical()` will call `basicConfig()` automatically if no handlers are defined for the root logger.
I run my code with `pdb` and reached `logging.basicConfig()`'s line `if len(root.handlers) == 0`. It failed, so someone called one of those functions before I called `basicConfig()`. Fixed by `basicConfig()` ASAP.
Learned the hard way: Try to upload a dummy #Python package with your preferred name to @pypi first or you might find out, after setting up the repository, the documentation and everything else… that your package name is too similar to an existing package. Which there is no way to check for before uploading. 🥲
I just published a small project called PocketBook on github:
https://github.com/sieste/pocketbook
A python script minifies Project Gutenberg books, for printing on standard office paper, to fold into a book the size of a credit card that you can carry around in your pocket.
Please let me know if you try it out, especially if something doesn't work.
Also feel free to request your favourite books, and I'll try to add them to the repository.
@gutenberg_org #books #bookstodon #python #github #minimalism

I'm glad that I didn't rush into fixing a missing feature in my Open Source project too quickly, but instead let the 🧠 background process work & come up with ideas that I think turned out to be good.
Mostly I want to solve things really fast to help the users. But this needed a few days to experiment and think about. Today I released a new version of the Python tools for the Polylith architecture, and I hope it will be a useful addition!
https://github.com/DavidVujic/python-polylith
Making an Easy-to-Install Application in Python https://lobste.rs/s/xtfzxb #python
https://gokmengorgen.net/2025/11/02/making-an-easy-to-install-application-in-python/
Since I'm tweaking my qutebrowser config again, I updated my public config.
I noticed I had only pushed my org-mode version before, expecting users to tangle it themselves, but I can't expect every qutebrowser user to be an Emacs user, so I pushed the tangled version too
https://github.com/gicrisf/qute-config
Making an Easy-to-Install Application in Python

I once designed a programming language, called Dot. The grammar:
program = '.'.
The only valid program was just '.', a dot, but the dot was the compiler. So you could bootstrap a Dot compiler, by simply translating '.' into your favorite language, then compiling the program. xD
#Python
def dotcompile(prog):
assert prog=="."
s = 'def dotcompile(prog):\n\tassert prog=="."\n\ts = %r\n\tprint(s%%s)\n'
print(s%s)
In a way, all compilers are quines.🤔
SumUp is hiring Senior Data Analyst
🔧 #python #aws #cicd #seniorengineer
🌎 Warszawa, Poland
⏰ Full-time
🏢 SumUp
Job details https://jobsfordevelopers.com/jobs/senior-data-analyst-at-sumup-com-aug-21-2025-91d010?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring