[Tutor] GUI + python program

Mitch Seymour mitchseymour at gmail.com
Mon Feb 14 20:55:36 CET 2011


Hello,

I am trying to design a program and GUI that will allow the user to select
from a series of options and, depending on which options are selected in the
GUI, information will then be placed in a html or pdf template.

Here's an example.

Option A
Option B
Option C

If Option A, insert _____ into the template.
If Option B, insert _____ into the template.
If Option C, insert _____ into the template.

The reason I used ______ is because the user needs to be able to edit, from
the GUI, which information is associated with each option, and,
subsequently, which information will be placed into the template.

However, I am very new to python and I don't how to do this. A friend
suggested that I create a python file that would store the user defined
information, which would be read by the program before the information is
placed into the template. So the user could select the options from the GUI,
edit the associated information from a preferences tab, and then initiate
the process of placing the info into the templates.

My question is, how would you do this and, if I do create a file to store
the information, could you please give me some examples of code to get me
started?

Thanks so much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110214/cd9c6a8c/attachment-0001.html>


More information about the Tutor mailing list