Mar-31-2021, 08:46 PM
(Mar-31-2021, 08:39 PM)deanhystad Wrote: Are you just trying to print information? You can print the dictionary or sub-dictionaries like this:
print('Real time', details['time']['real'])
If you don't like how that looks you could try the pretty print library.
https://docs.python.org/3/library/pprint.html
I would like to add it in my code and export the whole information to a TXT file.
How can I incorporate this new set of code to my project?