Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display Python Output in Sublime text [duplicate]

New to Python & Sublime

Problem: I type 'print ("Hello world")

How do I get it to show me the output (Hello world), is it in a separate window? or...

I understand I can use the Python Console built in, but that's a command line, what about when I get to use a ton of code, how do I get the output?

like image 799
user3144985 Avatar asked Dec 30 '13 03:12

user3144985


People also ask

How do I get python output in Sublime Text?

Super+Shift+B is the right answer. It is not a duplicate of the other question, but an extension of it.

How do I display output in Sublime Text?

In order for taking input and receiving output from a code, we need to manually set up our input and output files. Step 1: From the top menu, select View->Layout->Columns :3 or press Shift+Alt+3. Step 2: Now select View->Groups->Max columns: 2. Step 3: Now you can view three files simultaneously in sublime text.

How do I get the output window in Sublime Text 3?

If you're using Sublime 3, the same menu item exists but is also bound to a key as well (check the menu item to see what it is for your platform), and you can click on the panel chooser icon in the bottom left of the window to open a menu that displays all panels and choose the output panel from there.


1 Answers

Click on tools > build systems > select Python, then Build with using ctr+shif B and select python, and it ll work. Second time you can use the build command, ctr + B since python is now set as default

like image 120
user235913 Avatar answered Sep 28 '22 17:09

user235913