I have a project in pydev / eclipse that has multiple python files in the /src folder.
When I run the first program I created, it runs fine and I am able to interact with it in the console pane.
When I try to run any of the others
no consoles to display at this time
flashes up but then the program quickly terminates before I can type anything. I can't reproduce it, but sometimes my first input question will flash by too.
If I go back to the first program I wrote, it runs fine even though it failed previously on the other programs.
When I run in debug mode, it usually works fine.
How do I fix it so I can interact w/ my program in the console when I hit "run"?
This is what I have tried:
(1) closed eclipse and then restarted it
(2) checked that the "allocate console" was selected under run > run configurations > common menu option
(3) unchecked the "allocate console" option, ran the program, then selected the "allocate console" option again
(4) tried window > show view > console menu option
(5) restarted my computer
(6) closed eclipse, moved my python files to the desktop, deleted the .metadata folder, deleted the project folder, restarted eclipse, changed the perspective, created a new project, imported my files into the newly created project
(7) tried the stuff mentioned on the stack overflow page at No console output in Eclipse Juno. However, I did not understand the server suggestions. Where would I find that? I didn't think I was running one.
I have not uninstalled eclipse and python and then reinstalled both, but I am getting desperate so I might. Or I may just try to live with using debug to run the program.
I would like to know what is wrong though. I have used other workspaces with multiple python programs in the project with no problem.
Thanks in advance for your help.