When using python to check for wx module, call it via the variable