Skip to content

Instantly share code, notes, and snippets.

@rafche
Created May 5, 2017 11:00
Show Gist options
  • Select an option

  • Save rafche/6a30d4577f23379b47b11dd904c8c019 to your computer and use it in GitHub Desktop.

Select an option

Save rafche/6a30d4577f23379b47b11dd904c8c019 to your computer and use it in GitHub Desktop.
Writing File with Ironpython in Spotfire
def write_file(path):
'''
:param path: Path for file
:return: nothing
'''
file = open(path+'temp21.log', 'w')
file.write('success')
file.close()
write_file('C:\\temp\\')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment