The `_` character has quite some meaning in Python:
- Can be used as thousands separator
- recalls the last value in the Python interpreter
- final clause in match statement
- prevents variables starting with _ from being imported with import *
- gettext translation function in built-in namespace
Mostly you will read that Python is easy to learn and `_` just a valid character for a variable name.
streetyogi
streetyogi@street.yoga
npub1nujs...qmun
Python | Cyberpunk | Yoga | German | Polish | English
It’s been literally ages since i did some Turbo Pascal at school, reminded by the ‘p’ format character that encodes a Pascal string (first byte stores length of string) when packing/unpacking data with Python’s struct module.
Upped the ante to 22 push-ups per Pomodoro interval, did 2 sets as the other app I tested didn’t log calories to close my Apple move rings. Not that those 3 calories matter anyway :)
You need to do 10 push-ups to burn the calories from one Tic Tac, 500 for the whole pack, 600 for the Big Pack, 1000 for the 100 pack and 2000 for the Bottle Pack. That’s a lot of work for a product that is marketed as sugar free and having only 2 calories.
Switched the push-ups to knuckles to spice it up a bit.
4 Pomodoros done, that might have been the easiest 84 push-ups I’ve incorporated while having 100 minutes of productive Python study. Now a slightly longer recreational break if you catch what I mean :)
"We try to create teams that are no larger than can be fed by two pizzas," said Bezos. "We call that the two-pizza team rule."
That would be one average American then.
After trying my new productivity technique yesterday, which worked really well, some adaptions for today:
4 rounds:
25 minutes Python
5 minute break with 21 push-ups (for obvious reasons)
15 minute break, repeat.
Time is a created thing. To say “I don’t have time” is like saying, “I don’t want to”. - Lao Tzu
Can’t wait till chatGPT gets updated to GPT-4, so that it stops to recommend abstract base classes, when in fact it means a protocol class in Python. Bing AI is so much better in that regard…
My new productivity routine, the good old Pomodoro technique, 25 minutes focus, i.e. Python programming, and in my 5 minute break I do at least 20 push-ups. Best of both worlds.
I wonder if people who claim that Python is easy to learn know about comprehensions, assignment expressions, generators, decorators, descriptors, virtual classes, metaclasses, special methods, context managers, type annotations, pattern expressions, method resolution order, properties, slots, ABC’s, protocol classes, abstract syntax trees, lambdas,…
Love when people post that they are thinking of learning Python, perfectly knowing they won’t. So back to it, it is a daily grind starting the very same day you thought about it. Metaprogramming is no joke.
100 push ups done, which I don’t even count towards my daily goals. Real goal is doing 3x36 while holding exhaled out breath with hyperventilations in between like I did before already, eventually building up to 1 set of 108 while holding exhaled out breath.
Anyone playing those THNDR games? No, not that one where you swipe, this is actually a company name. Their newest game Bitcoin Blocks apparently has badges on Nostr, but to cash out you need to put in your password inside the app, which is sus to me, even though it was reported on Bitcoin News.
Starfield has a release date:

X (formerly Twitter)
Starfield (@StarfieldGame) on X
For all, into the starfield 🚀



