jdb91
April 28th, 2011, 11:13 AM
Hi all, trying to get python to write a windows batch script (bear with me) with a path in . Easy enough, except it keeps using the \ (windows directory) as an exit sequence. In shell, to get round this, you use ' ' instead of " "
Is there anyway of doing this in python?
e.g.
>>> print '\bin'
in
I know the easiest thing to do is just backslash the backslashes, but that becomes very long winded.
Is there anyway of doing this in python?
e.g.
>>> print '\bin'
in
I know the easiest thing to do is just backslash the backslashes, but that becomes very long winded.