简体   繁体   中英

Eclipse: Open file in PyDev Console

In Eclipse i have my project with several '.py' files. When i use the "Run" button, to start one of them, a console window opens and the code is executed. Also i have the option to start a PyDev console. Now i want to know how i can run the py-files from my project folder or workspace in that very console. I tried it with from project\\subfolder1\\subfolder2 import Run but it returns me

Import Error: no module named ...

What am i doing wrong? I just started with python this week.

Thank you

如果有帮助,请参见教程, 交互式控制台

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM