給定相對路徑,如何導入Python 模塊例如,如果dirFoo包含Foo.py和dirBar ,而dirBar包含Bar.py ,我如何將Bar.py ... 這是一種使用相對路徑從上一層導入文件的方法。
確定! 回上一頁