Jul-25-2017, 12:19 PM
New to Python and have it installed on Windows 10 along with Beautiful Soup.
Tried to run tutorial code from...
https://pythonprogramming.net/introducti...-tutorial/
https://www.youtube.com/watch?v=aIPqt-OdmS0
import bs4 as bs
import urllib.request
source = urllib.request.urlopen('https://pythonprogramming.net/parsememcparseface/').read()
soup = bs.BeautifulSoup(source,'lxml')
print(soup)
1 - lxml package: But I get errors and think maybe (to start) I need to install the parser package lxml
2 - Python 3.6 lxml installer: But the lxml downloads for Python 3.6 from here are Python Wheel format and I am unsure how to recover Wheel format... is there no .exe installer?
3 - Any other reason the above code won't run with Python 3.6, Beautiful Soup, and lxml ?
Thanks for any help.
Tried to run tutorial code from...
https://pythonprogramming.net/introducti...-tutorial/
https://www.youtube.com/watch?v=aIPqt-OdmS0
import bs4 as bs
import urllib.request
source = urllib.request.urlopen('https://pythonprogramming.net/parsememcparseface/').read()
soup = bs.BeautifulSoup(source,'lxml')
print(soup)
1 - lxml package: But I get errors and think maybe (to start) I need to install the parser package lxml
2 - Python 3.6 lxml installer: But the lxml downloads for Python 3.6 from here are Python Wheel format and I am unsure how to recover Wheel format... is there no .exe installer?
3 - Any other reason the above code won't run with Python 3.6, Beautiful Soup, and lxml ?
Thanks for any help.