Posts

Showing posts from July, 2021

Virtual Environment for Python

Image
How to Create Virtual Environment for Python Development? First we need to understand that why do we need virtual environment. It helps us to create isolated environment for python development.  Let's try to understand problem without virtual environment. You are working on two different project say Project A and Project B. Now Project A need pyarrow version 4.0.1 and Project B need 3.0.0 as dependency. If you have only one environment for development then you can keep one of them. Now using virtual environment we can have multiple environment let's say env 1 for project A and env 2 for project B, this way both of them will have their requirement version of package.  Steps to create a virtual environment in Windows Machine. Step 1. Install virtualevn using below command              >  Pip install virtualenv  Step 2. Create a virtual environment "myenvA"            > virtualenv myen...

How to Install Python in Windows 10?

Image
 How to Install Python in Windows 10? We all should learn programming. These day no matter if you are going to book a flight ticket or order pizza, we are using internet for sure. Lot of things has been changed in past few years. No need to be in log queue for hours. Few years back I stand on the queue for hours to make reservation in railways, now it's matter of few clicks.  Programming world is like a magic world for people who don't know it. It helps us to think in a logically. Let's begin the journey of programming world with python. You may ask " Why Python? " because python is easiest programming language with powerful capabilities. Most interesting part is that you will write your code like you are instructing some other person.  First we are going to install python 3 in our windows 10 machine.  Step 1. Open  https://www.python.org/   which is python's official website. Step 2. Click on Downloads Step 3. You will get a link to download python la...