The following forum message was posted by eudean at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3855957:

Hi,

I'm trying to run a Python script using Ctrl+Alt+Enter in Eclipse 3.5.2 with
PyDev 1.6.1 (have also tried this on Aptana Studio 3 with identical results).

So I write a very simple test script, hit Ctrl+Alt+Enter to bring up the 
interactive
console, then hit Ctrl+Alt+Enter to run the script in the console, and I get
the following error:

>>> execfile('"C:\\projects\\python\\demo.py"')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
IOError: [Errno 2] No such file or directory: '"C:\\projects\\python\\demo.py"'

Obviously the error is resulting from the triple-quotes going on there (nested
double quotes within single quotes). Is there some way I can configure it to
not add the extra quotes? Or is this some known bug? I searched pretty hard
for a simple fix but the only reference I could find was this IRC log:

http://echelog.matzon.dk/logs/browse/eclipse/1263769200

Someone asks the same question but gets no answer except to try another IRC
channel. Any help would be much appreciated.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to