Python run module[script] with -m option #10.1

Опубликовано: 09 Октябрь 2024
на канале: Wildest Imagination
87
1

Hi All, in this video we will discuss about how to run a folder or a script [which is a module in itself as well] with the help of -m option in Python.

When we run a folder or a script with -m option we must not use .py extension. Also if we have imported modules or functions from the scripts which are from parent folder or child folder we must need to run it from specific location or else we will get an error like module not found.

For more details please go through the video.