arrays - Convert urllib2 output to a list python -


i want convert string urllib2 array or list of words. doing school project , stuck on part. suggestions? code below.

import urllib.request  url = input("please enter url: ")  f=urllib.request.urlopen(url)  print(f.read()) 

i want words in html string urllib generates parsed , have each word placed in own index in either array or list.

thanks help.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -