"Executable pseudo-code"
names = "Bob", "Jill" for name in names: print( name )
The big unicode fix
Iterators everywhere
for i in range( 10 ): # No list is created print( i )
More comprehensions
print( { i: i*i for i in range( 10 ) } ) # prints: # {0: 0, 1: 1, 2: 4, 3: 9}
New string formatting
msg = "Score: {0}".format( score )
Or using names
msg = "Score: {foo}".format( foo=score )
Tidying
Very complete
Context: 12,000-line type-heavy Python 2 project, plus lots of smaller projects
Context: totally new to Qt
Donate! | patreon.com/andybalaam |
---|
Play! | artificialworlds.net/rabbit-escape |
---|
Videos | youtube.com/user/ajbalaam |
---|---|
@andybalaam | |
Blog | artificialworlds.net/blog |
Projects | artificialworlds.net |