Python Forum
things that work in terminal mode but not in sublime mode
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
things that work in terminal mode but not in sublime mode
#5
print() will not show apostrophe.
So if doing this will see nothing,but it still working as left space is gone.
favorite_language = ' python '
favorite_language = favorite_language.lstrip()
print(favorite_language)
Output:
python
favorite_language = ' python '
favorite_language = favorite_language.lstrip()
print(favorite_language)
# Using repr will see all,same as see in interactive interpreter
print(repr(favorite_language))
Output:
python 'python '
alok Wrote:Other question, what do you recommend instead of using Sublime text?
I like VS Code(Free) unlike Sublime text(have to pay to get all features),have a tutorial here.
Reply


Messages In This Thread
RE: things that work in terminal mode but not in sublime mode - by snippsat - Aug-11-2021, 07:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mode() huey17 1 301 Mar-05-2024, 05:19 PM
Last Post: deanhystad
  Program to find Mode of a list PythonBoy 6 1,074 Sep-12-2023, 09:31 AM
Last Post: PythonBoy
  r+ mode in files grkiran2011 5 1,583 Feb-16-2023, 02:05 PM
Last Post: DeaD_EyE
  while loop not working-I am using sublime text editor mma_python 4 1,124 Feb-05-2023, 06:26 PM
Last Post: deanhystad
  Sublime Text Editor not recognizing Python elroberto 5 2,865 Jun-13-2022, 04:00 PM
Last Post: rob101
  Can a variable equal 2 things? Extra 4 1,481 Jan-18-2022, 09:21 PM
Last Post: Extra
  File type (mode) rayleiter 5 2,147 Aug-29-2021, 07:46 PM
Last Post: Larz60+
  Python OpenCV window not opening in fullscreen mode Zman350x 0 3,291 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  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,590 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