Jan-04-2018, 07:16 AM
Add the following to the query_dict function to show how to access entire dictionary:
this allows using the same data for other modules without having to parse.
The ideal way to do this, is to scrape the web site, and create the csv directly using beautifulsoup
# Or to get entire dictionary: for key, value in local_dict.items(): print(f'Data for ieee id: {key}') for key1, value1 in value.items(): print(f' {key1}: {value1}')Also note, I saved the dictionary to a json file, and load it for the query
this allows using the same data for other modules without having to parse.
The ideal way to do this, is to scrape the web site, and create the csv directly using beautifulsoup