Just a wild guess. Try this:
import oauth.oauth as oauth
On Oct 6, 2:22 pm, ashwin morey ashwinmo...@gmail.com wrote:
Hi All,
I have a python file and I am running it through command line. But it keeps
giving error here
CONSUMER = oauth.OAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET)
AttributeError: 'module' object has no attribute 'OAuthConsumer'
whereas it works when trying to run it through web application.
thanks
ashy
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
http://groups.google.com/group/twitter-development-talk