In this video We will introduce 25 Pythonic Tips + Tricks for beginners

Timestamps:
00:00 - Introduction
00:43 - Wrapping a Primitive to change within function
02:09 - Compare identity with is
02:27 - Add a method dynamically
02:50 - Compare by Value
03:20 -Class parenthesis optional but not function parenthesis
03:46 - Get current date and time
04:17 - Countdown
04:55 - Elapsed time
05:24 - Parentheses for operations with object members
06:54 - Runtime error vs syntax error
07:52 - Get a random number
08:13 - Import with Alias
05:58 - Generators and Yield
11:09 - Infinite number
12:11 - Infinite generator
12:47 - list from generator
13:37 - itertools for simple infinite generator
14:48 - Iterate through custom type with iter
16:00 - Falsey for custom types (not)
17:13 - Combine two lists as a list of lists
17:39 - Convert list of tuples to list of lists
18:11 - Preserving all data when zipping with zip_longest
18:55 - Default Arguments
19:30 - Keyword Arguments
20:14 - Get the Python version

Subscribe - http://calcur.tech/subscribe

#pythonic #python

25 Pythonic Tips and Tricks for Beginners
12.75 GEEK