Name

createWriter()

Examples
# Create a file in the sketch directory
output = createWriter("positions.txt")
numbers = [17, 34, 190, 4, 18, 12]
for item in numbers:
    output.print(item) # Write the datum to the file
output.flush()# Writes the remaining data to the file
output.close()# Finishes the file
exit()# Stops the program
Description
Syntax
Parameters
output
fileName
Related createReader()
Updated on Wed Jan 18 17:32:20 2017.
Creative Commons License