Jump to content
  • Advertisement
Sign in to follow this  
Python#

Python input problems

This topic is 2474 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a strange problem with Python. When I use the input command, it works on the python shell, but when I use it as an executable, it crashes. Could someone help me with it?

Share this post


Link to post
Share on other sites
Advertisement
Can you post the exact program (hopefully a single line) and the commands you are using to compile it? I haven't seen anything of this sort before, but if I can reproduce your crash, I might be able to help.

Share this post


Link to post
Share on other sites
input()

I also get this line in the executed file:
Syntax Error: unexpected EOF while parsing.
Then it quickly closes. I'm using Python 3.2.

Share this post


Link to post
Share on other sites
I can't reproduce it with that much information.

Wild guess: Perhaps you are missing an end-of-line character?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!