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 2
Various Concepts of Functions
Learn about anonymous or unnamed functions, and some common scenarios to use them in, as well as some pitfalls you might encounter, and how to circumvent them. - Explore anonymous functions and why we might use them - Analyze potential pitfalls you might encounter with anonymous functions - Learn ways around the pitfalls that you might encounter