stanni Posted November 10, 2008 Share Posted November 10, 2008 Hey, I recently got into python and have found it an awesome language to work with. I want to start to make GUI's for my programs so I did some google-ing and decided that Glade would be my best option. I know have Python GTK+ and glade all installed and running. I have started to build my GUI and it is coming along nicely. Whats really bothering me though is "compiling" my program. I presume I have to combine the .glade file and the python file which tells it what to do with the user input from the GUI together and make an .EXE file? I can't find any information on how to do this in Windows, some help would be awesome. Thnx Quote Link to comment Share on other sites More sharing options...
xanich Posted November 15, 2008 Share Posted November 15, 2008 Well, I've personally had no experiance with Glade, so I can't help you out at all with it, but I can point out something about what you said. I presume I have to combine the .glade file and the python file which tells it what to do with the user input from the GUI together and make an .EXE file? You don't "compile" Python. Python is a scripting language, and interpreted at start (when you launch your .py file your use the Python Shell). There are ways to compile it, though. I have heard of many ways, but personally the one I have heard the best things about is Py2EXE (although I have yet to try it myself, as I haven't had an application that needs to be compiled). Quote Link to comment Share on other sites More sharing options...
X3N Posted November 16, 2008 Share Posted November 16, 2008 Well, I've personally had no experiance with Glade, so I can't help you out at all with it, but I can point out something about what you said. You don't "compile" Python. Python is a scripting language, and interpreted at start (when you launch your .py file your use the Python Shell). There are ways to compile it, though. I have heard of many ways, but personally the one I have heard the best things about is Py2EXE (although I have yet to try it myself, as I haven't had an application that needs to be compiled). actually you can compile python files into pyc or exe(using the py2exe script) if you got the latest python py2exe comes with it already... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.