Skip to content

Instantly share code, notes, and snippets.

if (start_data<then<end_data)==True:
while start_data<then<end_data:
with open('./tickets/{}'.format(ticketid), 'w') as outfile:
json.dump(abc, outfile)
ticketid += 1
abc,then = get_vms(ticketid)