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.

Revisions

  1. rafche created this gist May 5, 2017.
    11 changes: 11 additions & 0 deletions ironpy.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@

    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\\')