pycharm项目根目录作为Python导包路径的说明

之前知道pycharm会将项目根目录作为Python导包路径,今天想看看官方文档说明,如下:

Source roots the Source root icon contain the actual source files and resources. PyCharm uses the source roots as the starting point for resolving imports

https://www.jetbrains.com/help/pycharm/configuring-project-structure.html

发布了115 篇原创文章 · 获赞 34 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/u011519550/article/details/104513941
今日推荐