Book Image

Getting Started with Modern Python [Video]

By : Joran Beasley, joran beasley
Book Image

Getting Started with Modern Python [Video]

By: Joran Beasley, joran beasley

Overview of this book

In this course, you will start by setting up your development environment, including downloading Python and setting up your IDE (PyCharm); you'll then be introduced to Python lists and list comprehensions. The course will then show you what a generator is and why you might want to use one. Further on, you will be introduced to functions and decorators, and see how you can use them. You will then learn how to create a very simple, single-file Python program, and how to execute it both from the command line and from within the IDE. You'll also get a very brief introduction to debugging. By the end of the course, you'll have learned how to manipulate strings, parsing and printing them. The code and other supporting files for this course are available at https://github.com/PacktPublishing/Getting-Started-with-Modern-Python
Table of Contents (5 chapters)
Chapter 5
Functions, Because Sometimes One Line Isn’t Enough
Content Locked
Section 4
Document Code and Verify Code Correctness
Learn how to document your code, with type annotations as well as docstrings, both for yourself, and for others. - Understand the need to document our code - Explore various levels of code documentation - Write documentation that also tests out code