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

Python Multithreading free PDF

Test-Driven Development with Python

Think Python - How to Think Like a Computer Scientist

Think Python, 2nd Edition

Python in Hydrology

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

JavaScript for impatient programmers

Download free course JavaScript for impatient programmers, pdf file on 526 pages by Axel Rauschmayer....

Pro TBB: C++ Parallel Programming with Threading Building Blocks

This book is a modern guide for all C++ programmers to learn Threading Building Blocks (TBB). Written by TBB and parallel programming experts, this book reflects their collective decades of experience in developing and teaching parallel programming with TBB, offering their insights in an approacha...

HTML, CSS, Bootstrap, Javascript and jQuery in PDF

Free tutorial to download about HTML, CSS, Bootstrap, Javascript and jQuery, pdf document course in 72 pages created by Meher Krishna Patel....

Language D tutorial in PDF

Download free Language D tutorial course in PDF, training file in 17 chapters and 44 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

C++ Notes for Professionals

Download free course C++ Notes for Professionals, pdf file on 707 pages by Stack Overflow Community....

Elementary Algorithms

This is a free book about elementary algorithms and data structures. This book doesn't only focus on an imperative (or procedural) approach, but also includes purely functional algorithms and data structures. It doesn't require readers to master any programming languages, because all the algorit...

Python Data Science Handbook: Essential Tools for Working with Data

For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all - IPython, NumPy, ...

Programming Computer Vision with Python

Download free course Programming Computer Vision with Python, pdf file on 300 pages by Jan Erik Solem....

The Rook's Guide to C++

This Creative Commons-licensed textbook written by Norwich University students and faculty aims to provide an introduction to the C++ programming language. The PDF and original typesetting materials are available if you are interested in having a free digital copy of your own or if you wish to contr...

Restful Web Services

You've built web sites that can be used by humans. But can you also build web sites that are usable by machines? That's where the future lies, and that's what RESTful Web Services shows you how to do. The World Wide Web is the most popular distributed application in history, and Web services and mas...