Python-0
Python :
- Created by Gudio Van Rossum
Q1 : Why indentation : To indicate a block of code
VS Code:
- To connect a remote server, it is required that 'tar' package should be installed on remote linux.
Create a Venv :
>pip install virtualenv
>python -m venv myenv ## python -m venv virtual_env_name
>source myenv/Scripts/activate
>(myenv) which python ## confirm virtual environment
.....
after work
.....
>(myenv)pip freeze > requirements.txt
>(myenv) deactivate ## to deactivate virtualenv
Comments
Post a Comment