G:\code\Python\hello\helloworld.py
G:\code\Python\hello\mymodule\gettime.py
G:\code\Python\hello\mypath.pth
I write gettime.py
in mymodule
, I'd import gettime
in helloworld
. I write "G:\\code\\Python\\hello\\mymodule"
in mypath.pth
.
Can I put mypath.pth
in the directory "G:\code\Python\hello"
?