From: Betty Li <li_betty@ya...> - 2004-12-08 21:06:09
I am trying to open a file under the current directory
for my own Spyce project. For example in my Spyce
f = open("test" , "w")
However, the file "test" gets created in the Spyce
home directory (where the Spyce is installed). I find
out that I can only solve this problem by using
absolute path instead of relative path. For example:
f = open ("/home/bli/project/test", "w")
But I really need to use the relative path in this
case. Any suggestions?
Thanks in advance.
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.