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`


On this page of the site you can watch the video online Python Dev Environment Setup with a duration of hours minute second in good quality, which was uploaded by the user Think Create Repeat 17 June 2022, share the link with friends and acquaintances, this video has already been watched 29 times on youtube and it was liked by 3 viewers. Enjoy your viewing!