Jump to content

Python GUI help


stanni
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...