How to export user inputs (from python) to excel worksheet?

Posted by mrn on Stack Overflow See other posts from Stack Overflow or by mrn
Published on 2012-06-16T22:07:26Z Indexed on 2012/06/17 15:16 UTC
Read the original article Hit count: 180

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),

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

© Stack Overflow or respective owner

Related posts about python

Related posts about excel