Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5664487
By: faber15
Hi,
I'm trying to learn how to debug Python scripts using Eclipse and PyDev. I've
come across something I just don't understand so I thought I'd post here.
In my code, I have
tmplt = 'mytemplate_file'
f = open(tmplt, 'r+')
when I execute the open() statement in the IDE, I get the error:
IOError: [Errorno 2] No such file or directory: 'mytemplate_file'
However, if I drop to the command line and run
python myprogram.py
mytemplate_file is found, opened and read.
Where should I be looking to solve this problem?
--
F
______________________________________________________________________
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users