We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I was looking at the writing to a text file using python/processing and noticed that there is something called: "createWriter". Is this the only way? I am used to using:
After several attempts at using "open", I couldn't get it to create the text file BUT, for some reason:
seems to work.
Here is my code :
f = open('text.txt', 'w')
If I have to use CreateWriter, I will, but I was wondering why the "r" works, but the "w" does not?