A python application that allows to export the home game schedule of a club belonging to swiss unihockey to a Word document.
-
create virtual environment
~/python39/python.exe -m venv venv
-
activate virtual environment by executing the following command in PyCharms
Terminal
venv/Scripts/activate
-
install dependencies
pip install -r requirements.txt
-
change to directory
src
-
execute python app
python export_club_game_schedule.py
In PyCharm IDE:
-
set default test runner to
pytest
- Open settings in PyCharm:
File
>Settings...
- Navigate to
Tools
>Python Integrated Tools
- Under
Testing
selectpytest
as default test runner
- Open settings in PyCharm:
-
open file tests/test_export_club_game_schedule.py
-
right click on tab in editor and execute
Run 'pytest in test_expor...'
In Terminal
of Pycharm IDE:
-
activate venv if not yet active
-
change to
tests
directorycd src\tests
-
execute
pytest
pytest