Python Modules and Packages (Python 3.6)

Опубликовано: 02 Апрель 2026
на канале: Carlos G
1,598
11

Presented for the course COMP 364 Fall 2017 at McGill University

Couse website: http://cs.mcgill.ca/~cgonza11/COMP_364/
Lecture material: https://nbviewer.jupyter.org/github/c...

CORRECTION: Regarding the question about changing sys.path permanently. If you change sys.path inside a python script, the change will only exist as long as your current python session is running. If you restart the kernel, the sys.path will be back to default. This is beyond the scope of the course, but if you want to change the sys.path permanently, look into setting the environment variable PYTHONPATH.