TypeError: 'module' object is not callable when importing glob in Eclipse
What worked for me was i changed import glob
to from glob import glob
at the top of the file.
In some cases people end up using same file name as built in modules. Don't name your file as "glob.py".