Installation: Step 1: Make sure the “virtualenv” is already installed Step 2: Install “virtualenvwrapper“ Step 3: Add some environment variables Add the following at your .bash_profile file (or to your shell’s profile file) Step 4: Source the wrapper script Step 5: Create directories You are ready to use the virtualenvwrapper!! Using virtualenvwrapper
Switch between multiple versions of python3
You can have multiple versions of python 3 installed on your Ubuntu machine, and switch between the versions. This presents nice flexibility to the users. You can potentially have the latest version installed, and switch to the prior version easily! The following steps will enable you to switch between 3.6, 3.7 and 3.8 version of … Continue reading Switch between multiple versions of python3
How to Upgrade to Python 3.7 on Ubuntu 18.x
In this article, we will guide you to upgrade python 3.6 to python 3.7. Additionally, we will also show you to how you can switch between 3.6 and 3.7. Step 1: Check the current version Run the following command to verify the current version of python. Output: Step 2: Python 3.7 Installation Run the following … Continue reading How to Upgrade to Python 3.7 on Ubuntu 18.x
Zen of Python
The Zen of Python (’20 Points’) enlightens you with knowledge to write simple and elegant code: Enter “import this” @ our python REPL to get the list: Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. … Continue reading Zen of Python