Python Dev Environment Setup

Published: 17 June 2022
on channel: 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`


Watch video Python Dev Environment Setup online without registration, duration hours minute second in high quality. This video was added by user Think Create Repeat 17 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2 once and liked it people.