13.3. Module pip¶
13.3.1. Searching¶
pip search ...
13.3.2. Installing¶
Alt+Enter
on not existingimport
-> Install Packagepip install ...
requirements.txt
pip install -r requirements.txt
13.3.3. List requirements¶
$ pip freeze
13.3.4. Assignments¶
13.3.4.1. Installing from requirements.txt¶
Assignment: Installing from requirements.txt
Complexity: easy
Lines of code: 1 line
Time: 5 min
- English:
Create
requirements.txt
fileAdd line
mypy
Let your IDE install package automatically (click in yellow banner)
Run
mypy
on last edited Python scriptRun doctests - all must succeed
- Polish:
Stwórz plik
requirements.txt
Dopisz linię
mypy
Niech Twoje IDE zainstaluje package automatycznie (kliknięcie w żółty banner)
Uruchom
mypy
na ostatnio edytowanym skrypcie PythonUruchom doctesty - wszystkie muszą się powieść