I have a GP.py file that I am then running a MyBot.py file from.
In the MyBot.py file, I have the line
from GP import *
I have a su
_single_leading_underscore: weak "internal use" indicator. E.g.from M import *does not import objects whose name starts with an underscore.
Use this instead:
from GP import SomeClass
Have a look at PEP-8 (Python Guidelines) if you want to use import *
Modules that are designed for use via
from M import *should use the__all__mechanism to prevent exporting globals