Python Proficiency

I’ve been on and off in using Python as my go-to programming language.  In the past 6 of months, I have started researching more about its internals and why they work the way they do.  I have read numerous online/offline publications and spent my daily commute listening to Pluralsight‘s Python videos.   I’m about an hour to an hour and half away from work so that’s a pretty good time for me to either listen to podcasts or learn. I mostly choose the latter.

Pluralsight has started providing Paths recently.  Paths allows a subscriber to pick a topic of interest and Pluralsight provides the list of courses related to the topic. I think this really helps their subscribers streamline their training.  One way to measure you are learning is by taking skill assessments and certification practice exams.

And last month, after taking quite a few courses in the Python Path, I decided to take the skill assessment and received a Proficient rating.  3 more points and I could have been an expert.  Oh well, the importance is I’ve learned more about the language.


By the way, I am not affiliated with Pluralsight but a happy subscriber.


Python virtualenv

During my first few weeks of learning Python, I ran into the concept of virtualenv which most experts school of thought suggest is the best way of developing with Python.

Virtualenv provides you with a sandbox which keeps your global Python installation pristine. The step is real simple. You just need to have virtualenv installed in your system and you’re good to go.

This command will create a venv directory in your current path. Inside you will find 3 sub-directories: bin, include and lib. The bin folder will have your Python executable.

The first thing you have to do is to activate that executable. You can do this in 2 ways:

If you wanted to use Python 3 instead, you can use the –python option and supply with the Python3 value or you can provide the actual Python3 executable, depending on the version which you have:

That’s all she wrote.