python导入自己写的模块,模块下波浪线解决方法。 解决方法:file->settings->project->project structure->点击项目路径->点击Excluded。然后确定就正常显示了。