Skip to content

Instantly share code, notes, and snippets.

@artolaluis
Created June 13, 2016 06:53
Show Gist options
  • Save artolaluis/35cfea6fc5e0263b561f49e4115bcb52 to your computer and use it in GitHub Desktop.
Save artolaluis/35cfea6fc5e0263b561f49e4115bcb52 to your computer and use it in GitHub Desktop.
output_file = open( 'membership.xml', 'w' )
output_file.write( '<?xml version="1.0"?>' )
output_file.write( ElementTree.tostring( membership ) )
output_file.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment