Posted: Sun Jul 28, 2013 10:38 am Post subject: Need help! Interactive mode in Python?
Hey there. I've just recently started learning the Python programming language and I've having some difficulties.
First of all, what exactly is interactive execution in python and how do you exit it? Each time I start python it seems to be stuck in interactive mode. I've tried Control+Z but that just shuts it down and the next time I start it it's still in interactive. This poses a real problem whenever I try to build programs in Python. How do I get it out of interactive mode???
I've just started learning programming so yeah, you can call me a noob. Really need help on this.
Interactive mode is just Python running when you didn't specify a script. To run a script, do "py -2 thefilename.py", or "python", depending on how you installed it. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum