I will walk you through everything about Virtual Environment in Python that you should know like from “what is virtual…
In this article, I will walk you through everything about Virtual Environment in Python that you should know like from “what is virtual environment?” to “how it is used?”. By the word Virtual Environment you would have got that its basically same as an environment. Yes, Indeed it is but here its an environment inside a main environment. In IT industry everything which we build, We will start it by creating an virtual environment for it as first step. Why? because if you are going to build a project you take many packages/libraries to build one solo project. Now let’s take an example(from my own experience), I’m building a project where I used tensorflow 2.2 to do that and project got executed successfully and later I got to another project again with same framework but this time I should use tensorflow 1.4 due to other libraries compatibility. Now My project would never gets executed because my machine got 2.2 version, where I need 1.4. So, the only way I can make it happen is uninstall 2.2 version and install 1.4 version but here’s a twist tensorflow library is 350+ mb in size. Now you know the pain of uninstalling and reinstalling it and also time its take. Also don't forget now that I have installed 1.4 version the precious project will not run because compatibility issue with other libraries in that project.
In this video we will learn the basics of virtualenv or venv in Python. We will learn how to install virtualenv, activate virtualenv for different versions o...
Python Environment 101 .How are pyenv and pipenv different and when you should be using them
Python virtual environment is a self-contained directory tree that includes a Python installation and number of additional packages. In this tutorial, we'll provide a step by step instructions about how to create Python virtual environments on Ubuntu 18.04.
In this tutorial, you’re going to learn a variety of Python tricks that you can use to write your Python code in a more readable and efficient way like a pro.
Today you're going to learn how to use Python programming in a way that can ultimately save a lot of space on your drive by removing all the duplicates. We gonna use Python OS remove( ) method to remove the duplicates on our drive. Well, that's simple you just call remove ( ) with a parameter of the name of the file you wanna remove done.