Write Python code correctly!

Write Python code correctly!

HomeTech With TimWrite Python code correctly!
Write Python code correctly!
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
Welcome back to another video! In this video I'm going to show you how to write Python code properly. I'm going to go over the proper Python conventions and the most important parts of the Python style guide PEP8. PEP8 contains a lot, but I'm only going to go over the most common mistakes.

Thanks to HarperDB for sponsoring this video! Start a powerful free HarperDB instance here: https://studio.harperdb.io/sign-up?utm_sourcetechwithtim

resources
Python PEP8 style guide: https://www.python.org/dev/peps/pep-0008/

️ Timestamp ️
00:00 Write real code!
02:27 PEP8 Directive
03:00 Installing an automatic formatter
05:29 General PEP8 guidelines
07:01 Naming conventions
10:55 Naming method parameters
12:01 Function and class distance
13:33 Imports
15:42 Single or double quotation marks
17:16 Space
21:02 Inline comments
22:12 is None or None
24:05 Try and gut
24:46 String prefix and suffix

️️️️️️️️️️️️️️
Courses & Merch
The fundamentals of programming with Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop

Social media
Instagram: https://www.instagram.com/tech_with_tim
Twitter: https://twitter.com/TechWithTimm
Discord: https://discord.gg/twt
LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
Website: https://techwithtim.net
GitHub: https://github.com/techwithtim
Podcast: https://anchor.fm/tech-with-tim

My YouTube equipment
Main camera (EOS Canon 90D): https://amzn.to/3cY23y9
Second camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
Main lens (EFS 24 mm f/2.8): https://amzn.to/2Yuol5r
Tripod: https://amzn.to/3hpSprv
Main microphone (Rode NT1): https://amzn.to/2HrZxXc
Second microphone (Synco Wireless Lapel System): https://amzn.to/3e07Swl
Third microphone (Rode NTG4): https://amzn.to/3oi0v8Z
️ Lights: https://amzn.to/2ApeiXr
Keyboard (Daskeyboard 4Q): https://amzn.to/2YpN5vm
Mouse (Logitech MX Master): https://amzn.to/2HsmRDN
Webcam (Logitech 1080p Pro): https://amzn.to/2B2IXcQ
Speaker (Beats Pill): https://amzn.to/2XYc5ef
Headphones (Bose Quiet Comfort 35): https://amzn.to/2MWbl3e
Lamp (BenQ E-Reading Lamp): https://amzn.to/3e0UCr8
Second lamp (BenQ Screenbar Plus): https://amzn.to/30Dtafi
Monitor (BenQ EX2780Q): https://amzn.to/2HsmUPZ
Monitor (LG Ultrawide 34WN750): https://amzn.to/3dSD7tS
Microphone arm (Rode PSA 1): https://amzn.to/30EZw9m
Audio interface (Focusrite Scarlet 4i4): https://amzn.to/2TjXsih

Donate
One-time donations: https://www.paypal.com/donate?hosted_button_idCU9FV329ADNT8
Patreon: https://www.patreon.com/techwithtim
️️️️️️️️️️️️️️

️ Tags ️
-Tech with Tim
– Python
– Designation
– Write code correctly
– Pep8
– HarperD8

️Hashtags️
#TechWithTim #Python

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.