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

I wrote a Python extension (a pyd file). I can open a Python file that uses it 
in Eclipse and [u]run it[/u] without any problems. this extension adds 
constants to the global scope. 

This code runs :

[code]import my_ext

print my_ext.MY_VAR[/code]

But the PyDev editor marks the import line with a red X, saying \"Unresolved 
import: my_ext\". 

What is the diffrence between the runtime PYTHONPATH (wich works) and the edit 
time PYTHONPATH (wich does not work?)

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to