[IPython-user] More Windows questions part 2 - \/ characters revisited
Ville Vainio
vivainio at gmail.com
Mon Aug 15 03:59:09 CDT 2005
> don't recognize c:\ as a path). In iplib.py, fn handle_shell_escape, please
> change:
> line_out = ('%s%s.system(' % (pre,self.name)) + repr(cmd) + ')'
This one works.
> Another possibility is to instead change them to:
>
> line_out = '%s%s.system(r"%s")' % (pre,self.name,cmd)
> and
> line_out = '%s.system(r"%s")' % (self.name,cmd)
These don't, because r"blah\" is a syntax error.
--
Ville Vainio ॐ http://tinyurl.com/2prnb
More information about the IPython-user
mailing list