[TxMt] Re: Better Python bundle?
Russell E. Owen
rowen at cesmail.net
Fri Jan 28 21:12:52 UTC 2005
In article <3756d97505012806421b00fe0a at mail.gmail.com>,
Jan-Ole Esleben <esleben at gmail.com>
wrote:
> You can use them anywhere; they're like HERE documents in Perl.
>
> print """first line
> second line
> third line"""
>
> Etc.
>
> Actually, Doc strings are just plain strings (you can use
> single-quoted strings too). They do not interfere with the code
> because they simply evaluate to themselves.
Exactly. I just wanted to add that python triple-quoted strings can use
""" or ''' as the delimiter (just as python can use " or ' as the normal
single-quoted string delimiter).
-- Russell
More information about the textmate
mailing list