A few minutes ago a friend sent me the following code, and told me its misbehaving: def foo(l=[]): l.append("hello!") print(l) foo() foo() Instead of printing ["hello"] twice, it printed ["hello", "hello"]. Any ideas why? what's going on? I'll... (more…)
Read more »
Every year, I revisit the current best practices for Python packaging. This is my 2021 edition. (more…)
Read more »
Regex is a group of characters which helps to find pattern within a string. Regex is used in lot of applications including the search engines, search and for find and replace in text documents... (more…)
Read more »
Launched in 2018 Actively developed & supported. Supports tkinter, Qt, WxPython, Remi (in browser). Create custom GUI Windows simply, trivially with a full set of widgets. Multi-Window applicat... (more…)
Read more »
Parse crontab expressions with Python. Contribute to orf/crontabula development by creating an account on GitHub. (more…)
Read more »