[wingide-users] Class introspection question

Wingware Support support at wingware.com
Fri Jan 13 13:15:40 MST 2012


On 1/13/12 3:11 PM, Mike Driscoll wrote:
> Yeah, that works for wx.Panel. It doesn't work for TurboGears. Here's an
> example that doesn't work:
>
> from tg.controllers import RestController
> class SproxCaseController(RestController):
>
> If I press F4 when I'm in the SproxCaseController, it just jumps up to
> the import and highlights it. Thanks for the hint for the other one though.

That sounds like it's not resolving the import and thus not finding the 
module.  You may want to check your Python Path setting in Project 
Properties.  Also, check if pressing F4 on RestController withi the 
import statement works (just to rule out potential confusion about when 
to resolve imports).

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com


More information about the wingide-users mailing list