In IDLE, I can import a module and do something like this:
import mymod
myfunc() #works without module name
But in Blender I need to do this:
import mymod
mymod.myfunc() #must add module name
Am I doing something wrong or is this just the way Blender works with Python?