[Tutor] UPDATED: Question on how to open other programs and files
spir
denis.spir at free.fr
Mon Feb 9 11:41:02 CET 2009
Le Sun, 8 Feb 2009 19:05:59 -0800,
Hi <haztang17 at gmail.com> a écrit :
> Sorry for being confusing on my last e-mail. I will try to clarify my
> intents a bit further. In short, I want to be able to read the data in the
> file as well as launch document viewer in Python. For one of the files I
> want to read the data from a Python script that's in the same folder as the
> GUI Python script. For the pdf file I simply want to be able to launch
> document viewer from Python. I know it is probably a lengthy and demanding
> request, but I just want to be able to do both eventually in my GUI program.
You should first concentrate on the logic, then eventually design the GUI. There are several reasons for that:
* internal logic and UI are different points of view
* both aspects will be clearer; even if they progress in //
* if you mix them, then any change in the logic will require UI updates -- you will end up losing your time redesigning the GUI
Denis
------
la vida e estranya
More information about the Tutor
mailing list