help, news, python, review, stackoverflow

Month in review – Articles and news

Hi folks. In this post I am going to share some great articles which I recently got across. Apart from that I would also be sharing some news relating to Python.


  1. Python Descriptors 

This IPython notebook was really helpful for me to learn about descriptors and properties in Python. It is topic which is greatly shadowed in a lot of Python books. This Notebook would be really beneficial for you if you want to grasp the concept in an effective and understandable manner.

2. Using Coroutines for running many functions concurrently

Let me be honest. I never thought of this way before. This article from Brett sheds light on an obscure method of running many functions concurrently. I never saw this being discussed before.


1. Google Code is shutting down

Google code is the host for a number of small Python projects. If you use any library which is hosted on Google code then make sure to back it up because it would be available for long.

2. Invent Your Own Computer Games with Python 3rd Edition

This book from Al Sweigart has helped a number of people to start programming in Python. If you are new then I am sure that it would help you immensely. This is a new edition of the book.


cdp () {
    cd "$(python -c "import os.path as _, ${1}; \

Put it in your .bashrc or .bash_profile and do cdp <python module name> to get in the directory where the module is defined. This work:

~ $ cdp os
/usr/lib/python2.7 $

~ $ cdp os.path
/usr/lib/python2.7 $

It also works if a virtual environment is active. This tip was taken from Reddit.

If you have any questions don’t forget to ask. The more you ask, the more you learn.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s