https://github.com/akaliutau/python-idioms
Effective Python
https://github.com/akaliutau/python-idioms
data-structures python3
Last synced: 4 months ago
JSON representation
Effective Python
- Host: GitHub
- URL: https://github.com/akaliutau/python-idioms
- Owner: akaliutau
- Created: 2021-02-12T18:53:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T23:40:02.000Z (over 2 years ago)
- Last Synced: 2025-01-11T00:13:29.277Z (about 1 year ago)
- Topics: data-structures, python3
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
About
======
This is a collection of Python 3.x idioms, datastructures and effective code.
Main topics covered so far:
* data structures
* expressions
* meta classes, dynamic object construction
* internals of Python, useful hacks
* testing
Overview
=========
# Preliminary steps
1) First check the version - it should be 3.9.x (3.9.1 in our case)
```
python --version
Python 3.9.1
```
2) Create a virtual environment
```
python -m venv env
```
As a result a folder env with python libs will be created
3) Activate virtual env:
```
./env/Scripts/activate
```
The prompt will be changed to (env)
4) Install necessary dependencies into virtual environment:
```
pip install -r requirements.txt
```
As a result all extra dependencies will be added