Hello there,
I am currently working on a indepedendent project and I am realtively new to Python. Please note that this question revolves around Python version 3. But if you have a answer in Python 2 just write it down and tell me it is in Python 2 thanks.
What I am trying to do is save a program from within so that when it is opened again it will have the stuff.
Example
Example = []
UserInputEx = input("Enter somethng here")
#In this case I would enter HappyCodingDude
#What ever command would be used here or someplace else to save it
€
Now Imgaine I open the program this is what I would like to see
Example = ['HappyCodingDude']
UserInputEx = input("Enter somethng here")
#In this case I would enter HappyCodingDude
#What ever command would be used here or someplace else to save it