don't understand popen2

Sion Arrowsmith siona at
Fri Mar 24 10:58:21 EST 2006

Kent Johnson  <kent at> wrote:
>Sion Arrowsmith wrote:
>> (and please avoid the abuse of raw strings for Windows paths).
>Why do you consider that abuse of raw strings?

I consider it abuse because it's not what they were invented for.
I consider discouraging it to be a good thing in order to reduce
the chances of people being bitten by, for instance:

>>> os.listdir(r"C:\")
  File "<stdin>", line 1
SyntaxError: EOL while scanning single-quoted string

and getting all confused on this group.

\S -- siona at --
  ___  |  "Frankly I have no feelings towards penguins one way or the other"
  \X/  |    -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump

More information about the Python-list mailing list