From: <no...@so...> - 2001-01-25 13:39:43
|
Bug #129415, was updated on 2001-Jan-19 12:40 Here is a current snapshot of the bug. Project: Jython Category: Core Status: Closed Resolution: Works For Me Bug Group: None Priority: 5 Submitted by: mianko Assigned to : nobody Summary: the parsing operation of execfile() Details: I got the following problem with jython-20rc1 on java1.3/WinNT4sp6. "ejbittest\\test.py" works. "ejbittest\general.py" works. "ejbittest\test.py" not work. Do we have somre rule which we have to put '\' if '/' is reside between same character?? ............. >>> execfile("ejbittest\test.py") Traceback (innermost last): File "<console>", line 1, in ? IOError: File not found - ejbittest est.py (The filename, directory name, or volume label syntax is incorrect) ............. Follow-Ups: Date: 2001-Jan-25 05:40 By: pedronis Comment: Python strings are parsed the same way in every context like C. execfile is simply a built-in function. In python there's no special forms/statements that parse their arguments in special ways. Note: differently from C in python "\j" == "\\j" not "j". ------------------------------------------------------- Date: 2001-Jan-19 12:45 By: mianko Comment: Ops, Ok. I'm sorry. It may be wrong bug report. But I cannot still understand why we have to use this parser(\t is tab) for file name. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=129415&group_id=12867 |