Python CSS Makefile Batchfile HTML TeX
Switch branches/tags
Nothing to show
Clone or download
yasoob Merge pull request #167 from lancelote/master
Add classes.rst and nesting to README
Latest commit 3cf1eec Jun 4, 2018
Failed to load latest commit information.
_static improved ad display Nov 14, 2017
_templates freelancing Jan 18, 2018
CNAME useless Aug 15, 2015
Makefile added book files Aug 15, 2015 Add classes to README TOC Jun 2, 2018
__slots__magic.rst Better example of __slots__magic.rst Aug 30, 2015
args_and_kwargs.rst Double equals means equality. name == yasoob is false. Mar 30, 2016
classes.rst Added the classes chapter to the readme. Closes #139 May 29, 2018
collections.rst Add `OrderedDict` to collections.rst Feb 5, 2017
comprehensions.rst Update comprehensions.rst May 29, 2018 removed custom.css Nov 27, 2017
context_managers.rst closes #88 Thanks @JoshMcCullough May 29, 2018
coroutines.rst Typo in coroutines.rst Nov 30, 2015
debugging.rst Update debugging.rst Aug 18, 2015
decorators.rst Fixes #132, typo in the super() call Aug 5, 2016
enumerate.rst Reworded optional argument explanation Mar 30, 2017
exceptions.rst Closes #161 May 29, 2018
flaskstyle.sty changed the cover Aug 16, 2015
for_-_else.rst Update for_-_else.rst Jun 4, 2018
function_caching.rst Closes #158 May 29, 2018
generators.rst Closes #155 May 29, 2018
global_&_return.rst improved the multi return values section. Closes #90 May 29, 2018
index.rst Added the classes chapter to the readme. Closes #139 May 29, 2018
lambdas.rst Closes #76 May 29, 2018
make.bat added book files Aug 15, 2015
map_filter.rst add newline for code block Jun 19, 2017
mutation.rst improved the text a bit. Closes #146 May 29, 2018
object_introspection.rst updated sub section numbers Aug 21, 2015
one_liners.rst added a more relevant example for pprint. Closes #145 May 29, 2018
open_function.rst more info on encoding and utf-8 Dec 15, 2017
params.json Create gh-pages branch via GitHub Aug 15, 2015
python_c_extension.rst Merge pull request #120 from bbishop423/patch-6 May 29, 2018
python_modules_in_c.rst added book files Aug 15, 2015
set_-_data_structure.rst Don't use input keyword as variable name Aug 18, 2015
targeting_python_2_3.rst Typo in targeting_python_2_3.rst Dec 2, 2015
ternary_operators.rst Update ternary_operators.rst Aug 24, 2015
virtual_environment.rst Fixes "source" command invocation example Dec 5, 2017

Intermediate Python Book Cover

Intermediate Python

Python is an amazing language with a strong and friendly community of programmers. However, there is a lack of documentation on what to learn after getting the basics of Python down your throat. Through this book I aim to solve this problem. I will give you bits of information about some interesting topics which you can further explore.

The topics which are discussed in this book will open your mind to some nice corners of Python language. This book is an outcome of my desire to have something like this when I was beginning to learn Python.

If you are a beginner, intermediate or even an advanced programmer there is something for you in this book.

Please note that this book is not a tutorial and does not teach you Python. The topics are not explained in-depth and only the minimum required information is given.

I am sure you are as excited as I am. So, let’s start!

Note: This book is a work in progress. If you find anything which you can further improve (I know you will find a lot of stuff) then kindly submit a pull request. :)

Moreover, if you want to add more content to this book then kindly submit a pull request and I will be more than happy to merge it. 👍

Note: If you want to tip me for my work then you can buy the donation version of this book from Gumroad. Apart from that, if this book somehow helps you then kindly share your experience with me. I would really appreciate it.

Table of Contents:

  1. Programmer tools
  2. Syntax
  3. Functional programming
  4. Data structures
  5. Data types
  6. Decorators
  7. Extras



He wrote the chapter on Open function. Thanks Philipp! 👍


If you want to translate this book in any other language then kindly let me know. I would love your contribution. The currently translated versions are listed below:


This book is released under the following CC license (CC BY-NC-SA 4.0).

If you end up using/recommending this book to someone then kindly let me know. 😄