I don't have a working code at all for this, but if I wanted to take user input and store it, and then take a different input and store that to the same list (Like a site storing login information of it's members and associating it when they want to log back in) how would I do this in python? I have this short little code:
from Tkinter import *
import tkSimpleDialog
import tkMessageBox
root = Tk()
w = Label(root, text="")
w.pack()
User_info = tkSimpleDialog.askstring("User Information", "What is your name?")
def List(List_name):
List_name = []
List_name.append(User_info)
return List_name
print List
yet this produces this result: function List at 0x7fdf1fa0f668
instead of (for instance) Johnny