Home > python > Autocomplete in PyDev does not work after “import wx”

Autocomplete in PyDev does not work after “import wx”

When you import wx libraries in python, autocomplete do not work. PyDev shows a lot of errors “Undefined variable from import: SOMETHING”. But execution works good.

Снимок экрана 2014-02-04 в 23.35.42 Снимок экрана 2014-02-04 в 23.42.09

You have to add one simple line after “import wx”.

import wx
wx=wx

Advertisements
Categories: python
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: