Home
Python Tutorial
Introduction
Data Type
Statement
Operator
String
Tuple
List
Dictionary
Collections
Function
Class
File
Buildin Function
Buildin Module
Database
Regular Expressions
Thread
Tkinker
wxPython
XML
Network
CGI Web
Windows
Menu
Triple Quotes : Quote « String « Python Tutorial
Python Tutorial
String
Quote
hi =
''
'hi there
''
' print hi # repr()
'hi\nthere'
print hi # str()
5.21.Quote
5.21.1.
Single-Quoted Strings and Escaping Quotes
5.21.2.
Triple Quotes
5.21.3.
Creating strings and using quote characters in strings.