之前一直用的eclipse,换了idea后各种不会用,这里记录一下idea将本地项目导入的方法。

首先创建一个新项目

idea导入Python项目 idea2021导入项目_ide

idea导入Python项目 idea2021导入项目_idea导入Python项目_02

idea导入Python项目 idea2021导入项目_idea导入Python项目_03

 

 其次将项目的其他组件也加入进来

idea导入Python项目 idea2021导入项目_idea导入Python项目_04

idea导入Python项目 idea2021导入项目_eclipse_05

选中需要导入的本地项目,点击OK。

idea导入Python项目 idea2021导入项目_idea导入Python项目_06

这里因为这个项目已经导入idea了,所以这里是Finish,如果是未导入的话,会是next,点击next,跳转下个页面的时候,直接确定就行。

idea导入Python项目 idea2021导入项目_ide_07

到这里就已经导入成功了。

idea导入Python项目 idea2021导入项目_ide_08