Jelloeater / weboutlook

Automatically exported from code.google.com/p/weboutlook
0 stars 0 forks source link

name 'OutlookWebScraper' is not defined #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I'm new to Python but I have used Python scripts before and I thought it
would be usefull script.

I think this is a very basic question but I thought I trouble you with it
nonetheless. Why do I get the name 'OutlookWebScraper' is not defined
error. I'm following the instructions, what is wrong,
Thanks and Regards,
Onno

ostraaten@ostraaten-laptop:~/test/trunk$ python
Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from weboutlook import scraper
>>> s = OutlookWebScraper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'OutlookWebScraper' is not defined
>>> 

Original issue reported on code.google.com by onno.van...@gmail.com on 13 May 2009 at 10:21

GoogleCodeExporter commented 9 years ago
This is not a problem of the scraper's code. You have to be in the same 
directory of
scraper.py and try with this:
>>> from scraper import OutlookWebScraper
>>>

Original comment by mati...@gmail.com on 29 May 2009 at 12:57