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

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Python Tutorials

Python Notes for Professionals

Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python 3.6

Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python

Biopython: Tutorial and Cookbook

Python 3 Tutorial for beginner

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

Algorithmic Graph Theory

This is an introductory book on algorithmic graph theory. Theory and algorithms are illustrated using the Sage open source mathematics software. To get an overview of the book, you can view the table of contents as shown below or download the complete book. This book is more commonly known as the ...

Essential Go

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Go 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....

Java for Small Teams

This book is an attempt to capture what good Java code looks like and the practices that help produce it. This document is intended for consumption by anyone involved with writing server side Java code. From developers writing Java for the first time through to seasoned technical leads serving multi...

Graph Algorithms

Download free course Graph Algorithms, pdf file on 257 pages by Mark Needham, Amy Hodler....

Python Notes for Professionals

Download free course Python Notes for Professionals, pdf file on 855 pages by Stack Overflow Community....

Android video game tutorial

With this tutorial you will learn how to create an android video game and the basics of android applications development, free training document on 34 pages by Nikhil Yadav....

How To Code in Python 3

Extremely versatile and popular among developers, Python is a good general-purpose languag..., download free Python tutorial in PDF (458 pages) created by ....

COBOL in 21 days

This tutorial present an easy way to learn COBOL in a few days,free training courses in PDF for beginners and intermediate level users....

You Don't Know JS Yet: Get Started

Download free course You Don't Know JS Yet: Get Started, pdf file on 143 pages by Kyle Simpson....

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...