Free courses from frontend to fullstack and AI
Pass the PMP® Exam on Your First Try — Expert-Led Training
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn how to write Python code properly in this comprehensive 26-minute video tutorial. Explore the most important aspects of the Python style guide PEP8, including naming conventions, function and class spacing, import statements, and more. Discover how to install an auto-formatter, understand general PEP8 guidelines, and master best practices for whitespace usage, in-line comments, and string handling. Gain valuable insights into proper coding techniques, such as handling None comparisons and using try-except blocks effectively. Improve your Python coding skills and adhere to industry-standard conventions for cleaner, more readable code.
Syllabus
| Write Proper Code!
| PEP8 Guideline
| Installing An Auto Formatter
| General PEP8 Guidelines
| Naming Conventions
| Method Parameter Naming
| Function And Class Spacing
| Imports
| Single Or Double Quotes
| Whitespaces
| In-Line Comments
| is None or == None
| Try and Except
| String Prefix and Suffix
Taught by
Tech With Tim