Sublime Forum

Sublime with Python

#1

Hey!

I would like to see that 1==1 is True. It just shows nothing. How can i fix this ? Any Packages?

Thanks!

0 Likes

#2

Wrap it in a print() call or use an interactive interpreter (I. E. python on the terminal.

0 Likes

#3

i dont want to use print, what do u mean with terminal?

0 Likes

#4

So, it seems Sublime Text is different than what you’re expecting. It sounds like you’re used to opening Python’s REPL (Read, Evaluate, Print, Loop), where you type in a command, hit enter, and see the result.

Sublime is a text editor. It allows you to create .py files you can run in a python interpreter.

However, there is a package called SublimeREPL that allows you to have a REPL in Sublime.

I hope you enjoy it least as much as I have over the last few years!

0 Likes

Python didn't work correctly on Sublime
#5

You can also use Terminus to start an interactive python (or any shell) session.

0 Likes