Skip to content

Instantly share code, notes, and snippets.

@Guo2006
Created January 14, 2020 09:01
Show Gist options
  • Save Guo2006/2113ee2beee343c947c008f8d23931f9 to your computer and use it in GitHub Desktop.
Save Guo2006/2113ee2beee343c947c008f8d23931f9 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment