Skip to content

Instantly share code, notes, and snippets.

@gitdagray
Created February 18, 2018 18:25
Show Gist options
  • Save gitdagray/cc00971ae902d87a4bd89afce7f98886 to your computer and use it in GitHub Desktop.
Save gitdagray/cc00971ae902d87a4bd89afce7f98886 to your computer and use it in GitHub Desktop.
Creating the JSON data file.
#get current working directory
path = os.getcwd()
#open, write, and close the file
f = open(path + "\\fhsu_payroll_data.json","w") #FHSU
f.write(json_records)
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment