Sign up
Forgot password?
FAQ: Login

Driscoll Michael. Python 201

  • djvu file
  • size 2,05 MB
Driscoll Michael. Python 201
Lean Publishing, 2016. — 255 p. — ISBN13: 978-0-9960-6283-1.
From author:
"Welcome to Python 201! This book is a sequel to my first book, Python 101. I wrote this book to help take you to the next level in your programming journey. It will also demonstrate to you some of the many ways you can use Python in your day-to-day work. I will be covering intermediate and some advanced level material in this book. This book is using Python 3 in all of its examples. Some of the topics covered will only work in Python 3 as some of the modules covered contain updates that were not back-ported to Python 2. Also note that this book will follow in the footsteps of my first work in that I won’t be covering the topics in minute detail, but just enough to allow you to start using these building blocks yourself.
Python 201 will be split into four parts:
- Part one will cover intermediate modules
- Part two will be on a variety of topics, such as unicode, generators and iterators
- Part three will cover web related tasks with Python (but not web frameworks)
- Part four is going to cover testing code
Let me spend a few moments explaining what each part has to offer. In part one, we will cover the following intermediate modules and topics:
- argparse (Parsing command line arguments)
- collections (Replacements for Python’s standard containers, such as tuple, list and dict)
- contextlib (Context Managers)
- functools (Partials, function overloading, etc)
- importing and importlib
- iterators and generators
- itertools (Creating your own iterators)
- Regular Expressions
- Type Hinting
In Part two, we will be learning what generators and iterators are as well as how they work. We’ll also be looking at some of Python’s special functions, like map and filter. There will be a section on Unicode, encoding and decoding strings, benchmarking and more in this section.
Part three will cover working with websites in Python. We’ll look at how to browse a website with Python and scrape some data. We will work with various Python APIs to access major websites. We will use Python to create a client and a server. Finally we’ll play around with Python’s FTP capabilities.
Part four is all about testing your code. We will look at Python’s doctest, unittest and mock modules. We’ll also learn about some 3rd party packages that you can use for testing, such as tox, nose and pytest."
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up