A Python Book: Beginning Python, Advanced Python, and Python Exercises

This document is a selflearning document for a course in Python programming.
This course contains a part for beginners, a discussion of several advanced topics that are of interest to Python programmers, and a Python workbook with lots of exercises.

Contents

  • Introduction Python
  • Beginning Python
  • Names and Tokens
  • Blocks and Indentation
  • Doc Strings
  • Operators
  • Strings
  • How to use sequences
  • import statement
  • assert statement
  • global statement
  • Functions
  • A basic function
  • A function with default arguments
  • Argument lists and keyword argument lists
  • Modules
  • Packages
  • Acknowledgements and Thanks
  • Regular Expressions
  • Defining regular expressions
  • Compiling regular expressions
  • Using regular expressions
  • Unit Tests
  • Defining unit tests
  • Create a test class
  • Extending and embedding Python
  • Special purpose parsers
  • Writing a recursive descent parser by hand
  • Creating a lexer/tokenizer with Plex
  • A survey of existing tools
  • Implementing Packages
  • Using Packages
  • Distributing and Installing Packages
  • End Matter
  • Numbers
  • Literal representations of numbers
  • Operators for numbers
  • Methods on numbers
  • Lists
  • Literal representation of dictionaries
  • Operators on dictionaries
  • Methods on dictionaries
  • Files
  • Exceptions and the try:except: and raise statements
  • Functions
  • Optional arguments and default values
  • Objectoriented
  • Pogramming and classes
  • Stacked decorators
  • More help with decorators
  • Step generate
  • The bindings
  • Add applicationspecific code
  • the test application
  • Python hints
Pages : 214 Pages
Size : PDF
File type : pdf
Downloads: 393
Created: 2020-08-27
License: Open Source MIT License
Author(s): Dave Kuhlman

Others Python Tutorials

A Practical Introduction to Python Programming

IPython Interactive Computing and Visualization Cookbook

How To Code in Python 3

Programming Computer Vision with Python

Modeling and Simulation in Python

Others related eBooks about A Python Book: Beginning Python, Advanced Python, and Python Exercises

Annotated Algorithms in Python

This book is assembled from lectures given by the author over a period of 10 years at the ..., download free Python tutorial in PDF (388 pages) created by Massimo Di Pierro ....

Ruby Regexp

Scripting and automation tasks often need to extract particular portions of text from inpu..., download free Ruby tutorial in PDF (72 pages) created by ....

Graph Theory - Advanced Algorithms and Applications

This book is prepared as a combination of the manuscripts submitted by respected mathematicians and scientists around the world. As an editor, The author truly enjoyed reading each manuscript. Not only will the methods and explanations help you to understand more about graph theory, but The author a...

Reverse Engineering for Beginners

Download free ebook about Reverse Engineering for Beginners. A PDF tutorial on 942 pages by Dennis Yurichev....

JavaScript from ES5 to ESNext

Download free course JavaScript from ES5 to ESNext, pdf file on 84 pages by Flavio Copes....

C++ Core Guidelines

The aim of the guidelines is to help people to use modern C++ effectively. By "modern C++" we mean C++11, C++14, and C++17. In other words, what would you like your code to look like in 5 years' time, given that you can start now? In 10 years' time?...

The C++ Hackers Guide

An experienced programmer accumulates a set of tools, tricks, and techniques to make his or her programs better. ...

Elementary Algorithms

This book introduces about elementary algorithms and data structure. It includes side-by-s..., download free Algorithms tutorial in PDF (642 pages) created by Larry LIU Xinyu ....

Download Ada Programming Tutorial

Download Ada PDF Tutorial for free, it consisting of 42 chapters and 410 pages covering all the most important Ada concepts. This tutorial is intended for beginner programmers, and we recommend you to go through all the chapters, to get the most out of it as possible....

Learning Symfony 3

Symfony 3 tutoririal to download for free, PDF document on 46 pages created by StackOverFlow which teaches you the basics of this framwork. After reading this tutorial you will know the basics of the Symfony 3 framework...