Nesse vídeo falo um pouco sobre a execução de módulos em Python.
Alguns dos assuntos abordados:
Diferenças entre os comandos "python modulo.py" e "python -m modulo";
Diferença entre executar módulos e pacotes;
Comportamento dos arquivos __init__.py e __main__.py em diferentes tipos de importação;
Como usar a variável PYTHONPATH para fazer o Python encontrar módulos e pacotes;
Módulo http.server através do comando "python -m http.server".
On this page of the site you can watch the video online Como executar módulos Python: python, python -m, import, sys.path e PYTHONPATH | Python 002 with a duration of hours minute second in good quality, which was uploaded by the user m1cz 12 August 2020, share the link with friends and acquaintances, this video has already been watched 701 times on youtube and it was liked by 46 viewers. Enjoy your viewing!