Versions
- Ubuntu 20.04.2 LTS
- Python 3.8.5
commands for venv
# create venv
python3 -m venv venv
# activate venv
source venv/bin/activate
# shows python version
which python
# installs dependen
pip install -r requirements.txt
# deactivate venv
deactive
requirements.txt is generated with
pip freeze > requirements.txt
Going to push random py projects here for fun. 😀
-
First project is about on how u can speed up python code by converting python function into c with Cython library.
-
Second is a word counting program that uses dictionary data structure.