I am simply trying to make a new file with python 3.4, but whenever I try it gives me a TypeError:
>>> f = open("test.txt","w")
Traceback (most recent call last):
File "<pyshell#22>", line 1, in <module>
f = open("test.txt","w")
TypeError: an integer is required (got type str)
please help, I have tried so hard to fix this but it won't
(Sorry if it's something obvious, I'm kind of new to this)