Skip to content
Branch: master
Clone or download
Latest commit ad3314a Mar 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
_static improved ad display Nov 14, 2017
CNAME useless Aug 15, 2015
__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 Update classes.rst (#184) Nov 30, 2018
comprehensions.rst Update comprehensions.rst (#189) Jan 19, 2019 removed custom.css Nov 27, 2017
context_managers.rst Update context_managers.rst (#187) Nov 30, 2018
coroutines.rst Typo in coroutines.rst Nov 30, 2015
debugging.rst Update debugging.rst Aug 18, 2015
exceptions.rst Update exceptions.rst (#183) Nov 30, 2018
flaskstyle.sty changed the cover Aug 16, 2015
for_-_else.rst Update for_-_else.rst Jun 4, 2018
function_caching.rst Ask for forgiveness, not for permission (#175) Oct 28, 2018
generators.rst Closes #155 May 29, 2018
index.rst updated notes Mar 2, 2019
lambdas.rst Closes #76 May 29, 2018
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
python_modules_in_c.rst added book files Aug 15, 2015
targeting_python_2_3.rst Update targeting_python_2_3.rst (#185) Nov 30, 2018
ternary_operators.rst Wrong variable name for shorthand ternary example (#188) Dec 26, 2018
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. 😄

You can’t perform that action at this time.