I need to be able to assign a UUID to a user and document this in a .txt file. This is all I have:
import uuid
a = input("What's your name?")
print(uuid.uuid1())
f.open(#file.txt)
I tried:
f.write(uuid.uuid1())
but nothing comes up, may be a logical error but I don't know.