project file does't belong to the project issue

my file that i wrote highlight as non project file. how can i do? how can i fix it

0

Hello, 

Could you please check the Project Structure settings https://www.jetbrains.com/help/pycharm/configuring-project-structure.html and make sure the project root is added there as a content root? 

0

请先登录再写评论。