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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Pydev-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-users
