Sublime Forum

Sublime text not give output

#1

I prefer to upload my problem because i do not know how to fix it. I have save all on build activated, build system Python but i am not a programer or informatic so i do not really how to fix it. I think maybe is a problem from the path? but if someone cand help to solve it i would really appreciate it. Some times it gave me the result and others no…as it is show in the picture, thank you very much

0 Likes

#2

As it can be seen here, i am trying to work and i have so many problems when i write the codes, please! i need help

0 Likes

#3

It looks like you’re trying to execute the output of a previous Python REPL session through Python as a script; you can’t do that.

Note that in your first screen shot the error message is pointing at the text Python 2.7.18 telling you that it’s invalid; that’s because the content of your file needs to be valid Python code, and this is not that.

You want to either use SublimeREPL to interactively run python code or write and save your code in a .py file (like sample.py or such), and then tell SublimeREPL to run the code in the file instead.

0 Likes