[Pydev-users] [pydev - Users] Problem openning files
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-09-25 09:20:19
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3930893 By: eoloko Hi! I have a problem. I can´t open file with relative paths (with absolute path works, but I need it be relative). My Project structure is that: AzureusPlugin |_src |_AzureusServices(folder) |_temp(folder) | |_peticionAzureus2.xml(file I want to open) | |_main.py |_tratarPeticiones.py I try to open the file in module tratarPeticiones.py in this way: src = './temp/%s' %self.nomPet petDoc = xml.dom.minidom.parse(src) I think the relative path is correct, but when I try to run the program, it throw me an IOError. The PYTHONPATH it's set in this way: AzureusPlugin/src What do I do wrong? (excuse me for my bad english) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |