dear pythonistas,
for hours I'am traying to use Beautiful Soup for scraping some websites as an 
exercise.
But each time I run the code below:

>>> import urllib
>>> from BeautifulSpoup import *

>>> url =  raw_input( 'Enter -')
                  
>>> html = urllib.urlopen(url).read()

>>> soup = BeautifulSoup(html)
>>> print soup

I am getting the following trace back without beeing prompted for an input:

Traceback (most recent call last):
  File "C:/Python27/Beautiful Soup_ex1.py", line 2, in <module>
    from beautifulspoup import *
ImportError: No module named beautifulspoup

I have installed and unzipped etc. the latest file from www.crummy.com many 
times. 
If I click setup.py the command window appears only a fraction of a second.
??????

Happy holidays and thanks for help, Marcus.





---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to