Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 998 Bytes

Python.md

File metadata and controls

51 lines (34 loc) · 998 Bytes

Python

Setup and Configurations

Amend txt and list:

https://pythonprinciples.com/blog/lists-of-strings-in-python/

Create a virtual enviroment in a specific path #the name if the virtual enviroment)

python -m venv /path/to/new/virtual/environment

Check the consol path of python

which python

upgrade pip

python -m pip install --upgrade pip

Or

pip install --upgrade pip 

install requirments from requirment.txt

Make sure you are in the directory of where the requirements.txt is stored and that your bash consol is running within the correct python virtual enviroment to avoid installing requirments in the global python.

python -m pip install -r requirements.txt

Or

pip install -r requirements.txt

Data manipulation

pysprak

Refrences:

reference1: python venv documentation