Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
225いいね 6,420 views回再生

top 10 new things in python3.9 (beginner - intermediate) anthony explains #093

today I discuss and demo my top favorite new things in python3.9!

links:
getting python3.9 early via deadsnakes: https://launchpad.net/~deadsnakes/+ar...
what's new in python3.9: https://docs.python.org/3.9/whatsnew/...
stdin / stdout / stderr video:    • stdin / stdout / stderr (beginner - i...  
decorators:    • python @decorators - (intermediate) a...  

0:00 - (intro) / how I have python3.9 already
01:18 - builtin generic types (for type annotations)
03:05 - dictionary merge operators
04:58 - str.removeprefix / str.removesuffix
06:38 - sys.stderr is now line buffered everywhere
08:30 - ast.unparse function
10:00 - new PEG parser and secret bonus new with syntax
13:13 - _file_ of interactive scripts is now an absolute path
14:37 - new functions in curses for tabsize / escdelay
15:45 - decorators can be any expression
17:00 - new modules (zoneinfo, graphlib)

playlist:    • anthony explains  

==========

twitch:   / anthonywritescode  
dicsord:   / discord  
twitter:   / codewithanthony  
github: https://github.com/asottile
stream github: https://github.com/anthonywritescode

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!

コメント