path.realpath(__file__) returns the absolute path + file name. But, for example, if you want to call sec.py in the sec directory from fir.py in the fir ...
確定! 回上一頁