Skip to content

tho-exe/python-api-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Basic set up for a simple Python environment

Create and activate a virtual environment (optional but recommended):

  • On Windows:
    python -m venv venv
  • On macOS/Linux:
    python3 -m venv venv

To activate the virtual environment after initialising a virtual environment, simply run:

source venv/bin/activate

Install dependencies from requirements.txt:

pip install -r requirements.txt

Or install other libraries, using requests as an example:

pip install requests

Deactivating the Environment

To deactivate the virtual environment, simply run:

deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages