at you
need.
Martin
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ???
Sent: Monday, July 16, 2007 12:38 AM
To: Dino Viehland; 'Discussion of IronPython'
Subject: [IronPython] Bug report
Hi Dino, I met a IronPython bug, does this bug has been reported?
IronPython
ronPython', 'D:\\Python\\IronPython\\Lib', 'c:\\bin',
'c:\\windows', 'c:\\windows\x08in']
>>> sys.path.append("c:\windows\Bin")
>>> sys.path
['D:\\Python\\IronPython', 'D:\\Python\\IronPython\\Lib', 'c:\\bin'
That's not a bug..
backslash is an escape character and \b happens to be the escape sequence
for the bell character.
You either need to escape the backslashes (with another backslash) or use
raw strings
e.g.
"c:\\windows\\bin"
r"c:\windows\bin"
/Simon
ps. who is adding a bin folder under c:\wi
Hi Dino, I met a IronPython bug, does this bug has been reported?
IronPython 1.1 (1.1) on .NET 2.0.50727.42 Copyright (c) Microsoft
Corporation. All rights reserved.
>>> import sys
>>> sys.path.append("c:\\bin")
>>> sys.path
['D:\\Python\\IronPython', 'D:\\Python\\IronPython\\Lib', 'c:\\bin']
>