码迷,mamicode.com
首页 > 编程语言 > 详细

Python学习笔记 - pytharm 中import时无法识别自己写的程序

时间:2018-02-26 13:24:41      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:body   点击   http   direct   alt   问题   post   自己   com   

右键点击自己的工作空间,找下面的Mark Directory as(将目录标记为) 选择Source Root,就可以解决上面的问题了,如图

技术分享图片

技术分享图片

 

Python学习笔记 - pytharm 中import时无法识别自己写的程序

标签:body   点击   http   direct   alt   问题   post   自己   com   

原文地址:https://www.cnblogs.com/wangwust/p/8472266.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!