pycharm在同目錄下import劃紅線但實際能夠運行

pycharm不會將當前文件目錄自動加入本身的sourse_path。右鍵make_directory as-->sources path將當前工做的文件夾加入source_path就能夠了。pycharm
相關文章
相關標籤/搜索