PDA

View Full Version : How to run a script in interactive shell in Komodo Ide 10



AErubs
08-30-2015,
I am taking a class that uses spyder. In the class they use runfile to execute a script in their shell. I believe that command is unique to spyder andit doesn't work in Komodo. Is there a way to run a script that is saved on a flash drive from within the interactive shell? I can run the script in the "normal" ide section but want to run in interactive shell.

aecpoxwglk
09-01-2015,
I am confused. Under Tools there is a dropdown labeled Interactive Shell. I have used it to do simple commands immediately shuch as print('hello') and it returns Hello. That's where I'm trying to execute the python script

aEleanorduth
09-02-2015,
The terminology is a bit confusing I'm afraid. This interactive shell refers specifically to the interactive shell for the language, it should really be named eg. "Python REPL".
More accurate would be for me to say we do not support an interactive shell for your system, just for certain languages.

Adminforumedit
09-04-2015,
I remain confused. How come a python command such as print('hello') returns hello ---- just like an interactive shell
AND
can I execute a python3 script from that tools/interactive shell location?