新建一个test_b.py文件,在b中引入test_a. import test_a test_a.print_sum(1,9). 可以看到调用成功. 2、如果想要在任何目录下导入a.py,把test_a.py文件放到Python ...
確定! 回上一頁