Archive

Archive for the ‘python’ Category

Autocomplete in PyDev does not work after “import wx”

05.02.2014 Leave a comment

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

Categories: python