Python Forum
How to display what I write on sublime text editor on the CMD
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to display what I write on sublime text editor on the CMD
#1
Hi everyone!

Im totally, Totally, Totally new with coding, and that my first ever post on a coding forum.

Im learning Python, for almost two weeks now, so be gentle with me when you're gonna explain Big Grin

So Im using Sublime Text editor to write my Python codes and then displaying them using CMD on my Windows 10.

I try to display this code but when I run it on CMD...I get nothing.

Here is my code:

mystring="abcdefjhigklmnopqrst"

mystring[4:]
mystring[4:2]
mystring[4:2:3]
Do I need to add some built-in keywords to display the result on the CMD window?? Cry
Reply


Messages In This Thread
How to display what I write on sublime text editor on the CMD - by el_bueno - Feb-04-2019, 01:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to display <IPython.core.display.HTML object>? pythopen 3 45,918 May-06-2023, 08:14 AM
Last Post: pramod08728
  Read text file, modify it then write back Pavel_47 5 1,588 Feb-18-2023, 02:49 PM
Last Post: deanhystad
  while loop not working-I am using sublime text editor mma_python 4 1,125 Feb-05-2023, 06:26 PM
Last Post: deanhystad
  How to write in text file - indented block Joni_Engr 4 6,440 Jul-18-2022, 09:09 AM
Last Post: Hathemand
  Sublime Text Editor not recognizing Python elroberto 5 2,867 Jun-13-2022, 04:00 PM
Last Post: rob101
  Write to a LCD display using i2c to a Raspberry Pi using i2c 6398 4x20 LCD Aggie64 4 1,576 Apr-28-2022, 07:26 PM
Last Post: Aggie64
  CSV to Text File and write a line in newline atomxkai 4 2,685 Feb-15-2022, 08:06 PM
Last Post: atomxkai
  Music Notation editor; how to build the editor? direction to go? philipbergwerf 1 1,680 Jan-01-2022, 04:56 PM
Last Post: Larz60+
  Code folding in Sublime Text Mondata 2 2,797 Mar-12-2021, 04:16 PM
Last Post: Mondata
  How to link Sublime Text 3 Build system to Python 3.9 Using Windows 10 Fanman001 2 4,598 Mar-04-2021, 03:09 PM
Last Post: martpogs

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020