How would i make the computer assign a name to the automaticly that can be recalled later in python
Question: 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.choice()#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
    


Answer: If you're just trying to generate a random name, use a list and random.choice.
Here is an example. `print(random.choice(["Hello","World","!"]))`, this will
give you a random string from the list either 'Hello', 'World', or '!'. If you
want more help on the random module I suggest looking at the docs,
<https://docs.python.org/2/library/random.html>.

