
 |
|
|
|
|
 |
|
|
 |
| Show 1 - 7 of 7 |
All posts by weekendtranny · Linking weekendtranny  |
 |
Python 101: Strings
strings Remember waaaaaay back when we did >>> print "Make tea, not love."
Make tea, not love.
>>> Well, print is a command, and "Make tea, not love." is a string! Strings are all over the damn place, and, as we used them here, one use is to represent a bit of text. Why the quotes? Why not! It gave us an error back in the day of a few hours ago when I tried it without, if you recall. Strings... Tags: repr concatenating escaping backslash backticks strings raw input str long strings quotes
http://community.livejournal.com/weekendtranny/1579.html (Cached) 0 links
Published: 1 year ago (Fri, 20 Jun 2008 19:29:03 PDT)
|
| |
Result Page:
1
|
|

|