In my current directory called processing
i have many folders, one of them is called segmentation
, there is many files in segmentation one of them is test.py
. In my terminal i am in processing
and i want to run test.py
from there, i tried python -m segmentation.test
but this command didn't work.
如果您位于processing
目录中,并且想要在segmentation
文件夹中运行test.py
脚本,只需执行以下操作:
python segmentation/test.py
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.