https://blog.csdn.net/Purplme/article/details/123033204
PyCharm 創建python project時,默認在項目路徑下複製一份python的interpreter,導致PyCharm不去查找其他地方的資源包。所以,在創建項目時選擇第2個,就會使用本地默認python路徑下的interpreter。
https://blog.csdn.net/Purplme/article/details/123033204
PyCharm 創建python project時,默認在項目路徑下複製一份python的interpreter,導致PyCharm不去查找其他地方的資源包。所以,在創建項目時選擇第2個,就會使用本地默認python路徑下的interpreter。
腳本如下: 1 # coding: utf-8 2 3 """ 4 該腳本主要做把源目錄下所有文件,照搬原路徑基礎上覆制文件 5 """ 6 7 import os 8 # import shutil