python 3 'input()' with textmate 2 'run'?

39 views Asked by At

I have python 3.5.2 installed with homebrew (El Capitan). I have TextMate 2.

I have a .tm_properties file in my project folder which successfully gets textmate 2 to run python 3.5.2

(I would like to learn python, and would prefer to use textmate, instead of IDLE.)

What I don't know is how to get a command like

input() 

to succeed.

(EOFError: 'EOF when reading a line')

addition: I have received a link to a possible duplicate of this question. Firstly in the other question (which I have seen) the problem was not solved - the answer was that it was not possible (at that time). Secondly, this was 6 years ago, and we are now on textmate 2, so I am hoping somebody has found a solution? ALSO: Choosing the python version can now be done on a project basis with adding a .tm_properties file to the project: Choosing the version of python is not my problem. If the other post is correct, the problem lies in textmate not redirecting standard input. This problem (if that is the problem) is not resolved.

0

There are 0 answers