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 5
Classes, Modules – When and Why to Use Them?
Learn about classes and modules by creating a simple blackjack game. - Learn about classes and modules - Create some classes and modules - Play blackjack