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

It works as if it was python code, so, as you have different packages, you have
to import the package you're using -- i.e.: you have to add an import at bge
to import the bge.logic package (as you'd need in regular python code).

E.g.:
bge.pypredef containing:
from bge import logic

bge.logic.pypredef containing:
class foo:
    pass

Cheers,

Fabio


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to