Windows file paths, again
tjreedy at udel.edu
Wed Oct 21 23:34:41 CEST 2009
Dan Guido wrote:
> Hi Diez,
> The source of the string literals is ConfigParser, so I can't just
> mark them with an 'r'.
Python string literals only exist in Python source code. Functions and
methods only return *strings*, not literals. If you mistakenly put the
str() representation of a string (such as print gives you) into source
code, rather than the repr() output, then you may have trouble.
More information about the Python-list