Actions

Print

From Jedisaber Wiki

Revision as of 00:22, 27 June 2025 by Admin (talk | contribs)

Print prints stuff to the screen.

Basic Print stuff:

print("Print this.")

Will print:

Print this.


You can also print variables:

_textcon = "This is the text to print."
print(_textcon)

Escape Characters

In python, escape with a backslash \

Escape Sequence - Character

\\ Backslash
\b Backspace
\t Tab
\r Carriage Return (CR)
\n Line Feed (LF)


References

https://realpython.com/python-print/?utm_source=notification_summary&utm_medium=email&utm_campaign=2025-06-26