-
Papka yaratish va ichiga kirish
-
virtual environment(virtual muhit) yaratamiz
-
python -m venv venv
← Pythonning o’zini moduli— Yoki
-
pip install virtualenv
-
virtualenv venv
← Community(Jamiyat)‘dan modul
-
-
virtual environment’ni aktivlashtirish
- Windows:
.\\venv\\Scripts\\activate.bat
- Linux / Mac:
source ./venv/bin/activate
virtual environment aktivlashtirilgandan so’ng, (name) degan prefiks chiqadi. Aks holda qayta urunib ko’ring
- Windows:
-
Python Telegram Bot kutubxonasini o’rnatish
pip install python-telegram-bot