#!/usr/bin/env python from potus import get_info for i in range(1, 46): print('PRESIDENT {}:'.format(i)) for field, value in get_info(i).items(): print(field, value) print()
#!/usr/bin/env python import potus potus.file_name = "...." x = potus.get_info(2)
#!/usr/bin/env python import potus pres = potus.get_info(1) print(pres)
#!/usr/bin/env python from potus import get_info for i in 42, 43, 45: result = get_info(i) print(result['first_name'], result['last_name'], result['dob'])