Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3 escape codes
#1
I know how to write a newline "\n" and that's about all. I would like to know more. Because i came across the following "\n\t\t" and to be honest i'm lost. So could someone please point me to an easy to follow tutorial which covers the above. Big thanks

Just like to say that this is a first class site for anyone who wants to learn the Python programming language.
Reply
#2
\t is tab

More: https://python-reference.readthedocs.io/...capes.html
I am trying to help you, really, even if it doesn't always seem that way
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I handle escape character in parameter arguments in Python? JKR 6 1,039 Sep-12-2023, 03:00 AM
Last Post: Apoed2023
  use of escape character in re.sub and find WJSwan 1 876 Feb-16-2023, 05:19 PM
Last Post: Larz60+
  Escape indentation Frankduc 11 2,978 Jan-31-2022, 02:41 PM
Last Post: Frankduc
  add Escape charcters in string GrahamL 3 1,141 Jan-20-2022, 01:15 PM
Last Post: GrahamL
  Escape Single quotation between each content tag usman 3 2,742 May-02-2021, 03:32 PM
Last Post: snippsat
  How to set LD_LIBRARY_PATH on python codes? aupres 1 8,328 Mar-25-2021, 08:49 AM
Last Post: buran
  DIY Escape Room for fun StannemanPython 1 2,270 Feb-17-2021, 10:53 PM
Last Post: maurom82
  How to escape OrderedDict as an argument? Mark17 2 1,990 Dec-23-2020, 06:47 PM
Last Post: Mark17
  How to load log.txt directly into python codes? sparkt 6 2,900 Aug-21-2020, 03:51 PM
Last Post: sparkt
  help for escape sequences NewPi 1 1,997 Dec-11-2019, 11:22 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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