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 2
Working with Strings
Content Locked
Section 2
Parsing Simple Strings
Break a string into parts, using custom delimiters, likewise re-join a series of strings back into a single string. Learn how to normalize a string and test it against various conditions. - Learn how to break a string apart into useful pieces to work with and then re-join it - Normalize a string - Test various simple conditions