Re: Problem with os.path

2005-12-16 Thread Scott David Daniels
Daya Kiran Sunkara wrote: > ... > path = 'E:\mktrisk\service\marketdata\da' You should use: path = r'E:\mktrisk\service\marketdata\da' if you want to use backslashes regularly (for regexps and paths). You do know you could also use: path = 'E:/mktrisk/service/marketdata/da' even on windows.

Re: Problem with os.path

2005-12-15 Thread Pelmen
sorry? if i'm wrong? but i'm think you have to use double slash, to prevent escape-interpreting as '\n' for example -- http://mail.python.org/mailman/listinfo/python-list