The following forum message was posted by moguri at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4044299:
I have a module (bge) that only contains submodules (eg, render and logic). What is the proper way to create pypredef files for these? Currently I have a bge.pypredef, bge.render.pypredef and bge.logic.pypredef. bge.pypredef only has imports in it (import render; import logic). Without the imports using "bge." does nothing. However, the problem is this works (with the imports in bge.pypredef): [code]from bge import logic logic.foo # foo auto-completes[/code] but this doesn't: [code]import bge bge.logic.foo # logic will auto-complete, but not foo[/code] I'd like to be able to do the latter. Any thoughts? Thanks, Moguri ------------------------------------------------------------------------------ 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