How to export user input data from python to excel?
- by mrn
I am trying to develop a user form in python 2.7.3. Please note that I am a python beginner.
I am trying to use xlwt to export data to excel.
I want to write values of following variables i.e. a (value to write:'x1') & d (value to write: be user defined information in text box), to an excel sheet,
a=StringVar()
checkBox1=Checkbutton(root, text="text1", variable=a, onvalue="x1", offvalue="N/A")
checkBox1.place(relx=0., rely=0., relwidth=0., relheight=0.)
checkBox1.pack()
d=StringVar()
atextBox1=Entry(root, textvariable=d, font = '{MS Sans Serif} 10')
atextBox1.pack()
Need help badly.
Thank you so much in advance