How to write better python code

Published: 17 December 2021
on channel: Computeshorts
175
8

We've all been there. We start out learning a new programming language or its even our first. We'll always make mistakes but that does not mean that we should repeat them.

I cover a lot of the common Python mistakes that a lot of us make. You might even find a solution to some bugs that you currently have.

I cover the following:
default function arguments
Scope rules
incorrect use of class variables
Modifying a list while iterating over it
circular module dependencies
Confusing how Python binds variables in closures

Chapters:
0:00 Default function arguments
0:56 Scope rules
1:28 Class variables
2:39 Lists
3:15 Circula dependencies

---------Reach out to me on------------
Github: https://github.com/pawel02
Twitter:   / computeshorts  
Computeshorts: https://computeshorts.com/
-------------------------------------------------------

#python #mistakes


Watch video How to write better python code online without registration, duration hours minute second in high quality. This video was added by user Computeshorts 17 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 175 once and liked it 8 people.