Hi!

Probably that's gonna be absolutely no0b question, but I have to ask it:

Say, I have two files, program.py and GUI.py. I have to launch the GUI from the program.py file, i.e. I have to call main function of GUI.py file from within the program.py. Could someone tell me how to do that?

Cheers!
Filip

Ehh.. I'm soooo stupid.

from GUI import *

will do the trick.:-) Sorry for botherin you (don't think anybody read that, but whatever.:P).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.