Select to view content in your preferred language

Create a file

588
1
12-26-2012 03:11 AM
eGroveSystems
Emerging Contributor
How to create a file using Python?
Tags (2)
0 Kudos
1 Reply
JakeSkinner
Esri Esteemed Contributor
What type of file are you trying to create (i.e. text file)?

Here's an example on how to create a text file:

txt = open(r"C:\temp\data.txt", "w")
txt.close()
0 Kudos