hello
i'm trying to run the first two lines of an IMDbPy program:
import imdb
ia = imdb.IMDb()
when writing in the Python Shell (IDLE) it works fine, however if i write
them in a separate file and try to run it, i'm getting
Traceback (most recent call last):
File "D:\Documents and Settings\asafdav2\Desktop\pythonScripts\imdb.py",
line 1, in <module>
import imdb
File "D:\Documents and Settings\asafdav2\Desktop\pythonScripts\imdb.py",
line 2, in <module>
ia = imdb.IMDb()
AttributeError: 'module' object has no attribute 'IMDb'
any idea what am i doing wrong?
thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel