Local module url
Purpose
- Provide functions in support of getting web-based data into the needed information structures. The functions make direct or indirect use of standard module urllib.request.
- The module must be downloaded and imported for programmer use.
- The most up to date version of module
url.py
is always available here
Primary functions for getting text and csv sheets from web files
- Function
url.get_contents( link )
- Returns the contents of the web resource indicated by parameter
link
as a string.
- Function
url.get_dataset( link )
- Returns the contents of the csv web resource indicated by parameter
link
as a dataset sheet whose cell values are either string,int
,float
, orbool
as appropriate.