Python Dev Environment Setup

Publié le: 17 juin 2022
sur la chaîne: Think Create Repeat
29
3

See https://github.com/ccozad/python-play... for a collection of code examples.. If this content helped you please give the repo a star on GithHub.

Like and subscribe for more videos to help your software engineering skills.

Outro music: "Innovation" by John Sibs from pixabay.com

Setup steps
1. Install Python 3
2. Install a text editor
3. Install requirements

Create a virtual environment*
On Mac: `python3 -m venv .venv`
On Windows: `python -m venv .venv`

Activate the virtual environment
On Mac: `source .venv/bin/activate`
On Windows: `.venv\Scripts\activate`

Install dependencies
`pip install -r requirements.txt`

Call a specific script
On Mac: `python3 script_name.py`
On Windows: `python script_name.py`

Deactivate virtual environment*
`deactivate`


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Dev Environment Setup durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Think Create Repeat 17 juin 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 29 fois et il a aimé 3 téléspectateurs. Bon visionnage!