Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Ankit Bindal
314 PointsPython IDE for windows
Can you suggest me a good python IDE for windows. The official IDLE has a bad resolution on windows 10. I tried sublime Text but it does not execute the input() function.
2 Answers

Luke Glazebrook
13,564 PointsHi!
Are you sure that the code you written in Sublime Text was valid? It shouldn't matter what editor you are using, code that is valid Python should run whether it has been written in a fully-fledged IDE like Pycharm or just a terminal application like Nano.
I would suggest that you give either give Atom a look or that you look back over the code you have written in Sublime Text and see if you can figure out why it isn't working.
I hope I helped you out, if you need any more help then don't hesitate to ask.
-Luke

MUZ141000 Marian Murambiwa
590 Pointsyou should try Vim. Its awesome
Ankit Bindal
314 PointsAnkit Bindal
314 PointsThanks for answering.
I executed the following code in sublime text:
a=3 print(a)
and it works fine.
But when I execute a code with input() function, it gives back : "EOFError: EOF when reading a line" on the input() line.
I tried sublimeREPL ( everything works fine ) ,but it is just like shell, I want to create a .py file.
How can i fix the EOFError here ?
Luke Glazebrook
13,564 PointsLuke Glazebrook
13,564 PointsHi Ankit!
Are you sure that is valid Python code and that function needs no parameters? It has been a little since I have worked with Python properly so I can't really remember some things about it.
One thing I would check, because I know that Python is very picky about white-space, is that your code is all properly formatted.
-Luke
Ankit Bindal
314 PointsAnkit Bindal
314 PointsYea Luke, I am absolutely sure this is correct. Even if I do: a = input("Enter a number: ") it gives an EOFError.