Empire of Code retweeted
#Python tip: Hard-coded constants should use the optional underscore as a thousands separator:
>>> x = 1_234_567
Also, you can output numbers in that format:
>>> f'{x:_d}'
'1_234_567'
Or with commas:
>>> f'{x:,d}'
'1,234,567'
1/
Empire of Code retweeted
I wrote something about getting started contributing to CPython paper.dropbox.com/doc/Contri… #pycascades
Empire of Code retweeted
"The only way to learn a new programming language is by writing programs in it." - Dennis Ritchie
Empire of Code retweeted
This is a big one!
Mypy 0.730 is out, with prettier, colored output and error code support, along with many other fixes and improvements mypy-lang.blogspot.com/2019/…
Empire of Code retweeted
Today, we found a small bug in IDLE during Intro #Python class, and I took that opportunity to show how to file bug report.
Tomorrow, I expect the learners to be delighted when they see the bug has already been fixed 🤩
bugs.python.org/issue38077
Empire of Code retweeted
"Python is designed to deliver an experience that is simple and easy to use. This is only possible through a combination of advanced technologies and sophisticated engineering."
Empire of Code retweeted
"If it doesn’t work, it doesn’t matter how fast it doesn’t work." - Mich Ravera
Empire of Code retweeted
#Python's alternative increment operator is affectionately known as the space-invader operator.
>>> score = 10
>>> score -=- 1
>>> score
11
Empire of Code retweeted
#EmpireOfCode- Sci-fi strategy game that combines tactics with coding by @photonstorm ow.ly/Ru9j6 #gamedev
Empire of Code retweeted
Empire of Code - an epic sci-fi strategy coding game buff.ly/1IkY2N7 #phaserjs
Empire of Code retweeted
CheckIO (@PlayCheckiO) is fun but Empire of Code (@empireofcode) is SERIOUSLY addictive. It's like dopamine pills for coders! #EmpireOfCode
Empire of Code retweeted
After 3+ years, I'm becoming a gamer again. Normal WiFi needed so I can check out Empire of Code(@empireofcode). #PythonGeek #EmpireOfCode
Empire of Code retweeted
can't sleep. up playing @empireofcode instead. go team Python.
Empire of Code retweeted
Empire of Code - CheckiO bit.ly/1Muqpyo
Empire of Code retweeted
#VegasTech's own @PlayCheckiO launches Empire of Code! We talk to @avrliza about the game. vegastech.com/checkio-launch… #python #javascript
Empire of Code retweeted
#VegasTech's own @PlayCheckiO launches Empire of Code! We talk to @avrliza about the game. vegastech.com/checkio-launch… #python #javascript
Empire of Code retweeted
Import Python: Conversation with Liza Avramenko - Founder Checkio, Empire of code. Games for Python Programmers. bit.ly/1J2ZfyP
Empire of Code retweeted
"Empire of Code - Space Strategy Game from CheckiO Blog :: CheckiO" #python #javascript Very cool looking game. checkio.org/blog/empire-code…

















