My objective is to make the computer assign a name to the user file automatically but that can also be recalled later.
import random
r = random.Random()#i want this too be a random name that the computer can recall later
while True:
with open(r, "w") as f:
f.write(input("Write to file here -"))
if 1==1:
True
else:
break
Aucun commentaire:
Enregistrer un commentaire