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! While you're at it, check out some resources Treehouse students have shared here.

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

Python

Python 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

Hi!

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

Thanks 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 ?

Hi 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

Yea Luke, I am absolutely sure this is correct. Even if I do: a = input("Enter a number: ") it gives an EOFError.

you should try Vim. Its awesome