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: 394
Created: 2020-08-27
License: Open Source MIT License
Author(s): Dave Kuhlman

Others Python Tutorials

Python Datetime free PDF

Raspberry Pi Cookbook for Python Programmers

Python Machine Learning Projects

Solving PDEs in Python: The FEniCS Tutorial I

Practices of the Python Pro

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

Effective AWK Programming

Download free course Effective AWK Programming, pdf file on 572 pages by Arnold Robbins....

OpenCOBOL Guide for programmers

This PDF tutorial describes the syntax and usage of the COBOL programming language as implemented by the current version of OpenCOBOL ,it's a free training document under 259 pages designated to intermediate users level....

VB.NET programming

This document provides an introduction to VB.NET programming language. You will learn the basics of the language with screenshots and examples....

Essential Kotlin

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Kotlin programming language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

Fortran 90/95 Programming Manual

Download Fortran 90/95 Programming Manual, free training course under 67 pages by Tanja van Mourik....

Practices of the Python Pro

Download free course Practices of the Python Pro, pdf file on 248 pages by Dane Hillard....

Think Python - How to Think Like a Computer Scientist

Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces, ...

Introduction to Struts

This tutorial is an example using struts tiles ,free training document courses under 14 pages bu sasha wolski....

Data Mining and Analysis: Fundamental Concepts and Algorithms

The fundamental algorithms in data mining and analysis form the basis for the emerging field of data science, which includes automated methods to analyze patterns and models for all kinds of data, with applications ranging from scientific discovery to business intelligence and analytics. ...

: Advanced R Solutions

This book offers solutions to the exercises from Hadley Wickham's book Advanced R (Edition 2). It is work in progress and under active development. The 2nd edition of Advanced R is in print now and we hope to provide most of the answers....