Trey Hunner, a Python trainer, writes tutorials on Python idioms, built-ins, comprehensions and tooling, including uv scripts.
HN commenters link his lazy self-installing uv script post for the shebang trick, and his animated list comprehension and PyCon posts.
I'm a self-published author and these are my offers till end of this month:
1) "Practice Python Projects" (https://learnbyexample.gumroad.com/l/py_projects/blackfriday) ebook is free (normal price $10)
2) "Learn by example Python bundle" (https://learnbyexample.gumroad.com/l/python-bundle/blackfriday) is $2 (normal price $12) - three ebooks titled "Python re(gex)?", "100 Page Python Intro" and "Practice Python Projects"
3) "All Books Bundle" (https://learnbyexample.gumroad.com/l/all-books/blackfriday) is $5 (normal price $22) - includes all three Python books mentioned in the bundle above and eight other books on regular expressions and CLI one-liners
---
I know a couple of blog posts by indie creators with their own sales and links to other programming deals:
* https://treyhunner.com/2021/11/python-black-friday-and-cyber-monday-sales-2021/
* https://www.blog.pythonlibrary.org/2021/11/24/python-black-friday-cyber-monday-sales-2021/
Yeah, that would be awesome. I haven't looked into it yet but if you'd be willing to help out we'd be happy to accept contributions! The one thing that I think might be tricky with including standard migrations is keeping them compatible with Django 1.4-1.6; although it seems to be possible to have both in a given package [0] it doesn't seem all that user-friendly.
[0]: http://treyhunner.com/2014/03/migrating-to-django-1-dot-7/
Here are a couple of articles about attending PyCon
Trey Hunter's article "How to have a great first PyCon" including advice on how to overcome feeling like an imposter or an outsider
https://treyhunner.com/2018/04/how-to-make-the-most-of-your-first-pycon/
Al Sweigart's PyCon advice, including his shirt color trick for meeting new people
https://automatetheboringstuff.com/how-to-do-pycon.html
Thank you very much. I am using python for some time now. Stumbled upon this, but never took the time to read up on it. If anybody also wants to know more I found this extensive post explaining the concepts behind * and in python (not in multiplication):
https://treyhunner.com/2018/10/asterisks-in-python-what-they-are-and-how-to-use-them/
Use this as your shebang line:
#!/usr/bin/env -S uv run --script https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/
I don't think requiring all CLI tools to be "native binaries" makes sense. Plenty of popular CLI tools are not compiled binaries. The Python and Node.js ecosystems run on those.
For those confused - the visual part is done in a GIF (i.e. http://treyhunner.com/images/list-comprehension-condition.gif).
I think animating the transformation from a normal loop to a list comprehension is a great way to show how the syntax translates between the two forms. Very awesome and comprehensive post.