gui help
Page 1 of 110 Replies - 971 Views - Last Post: 27 September 2010 - 09:23 PM
#1
gui help
Posted 23 September 2010 - 06:50 AM
how would i open a gui window or is it even posible
Replies To: gui help
#4
Re: gui help
Posted 24 September 2010 - 05:07 AM
If you are looking for quick and easy dialogs, for user-interface and messages, I would recommend easygui. If you are looking for something to make the gui for an entire program, something like PythonCard might be good as well. Easygui and PythonCard are easy to use and quick to make an effective gui.
#5
Re: gui help
Posted 24 September 2010 - 06:38 AM
but is there a program that is just used to design the layout of the window so that i can do more accuret coding
#7
Re: gui help
Posted 25 September 2010 - 08:15 AM
c.user, on 25 September 2010 - 04:49 AM, said:
Seta00, on 24 September 2010 - 01:11 AM, said:
I use and recommend wxPython, which is a modern, cross-platform GUI library.
how to install it to python 3.x ?
or pygtk ?
Installing Python
If you're on a Windows System, you will want to find your Python installation directory (Usually C:\Python**\)
On *NIX systems, look into using the package manager.
#8 Guest_c.user*
Re: gui help
Posted 25 September 2010 - 07:02 PM
Dogstopper, on 26 September 2010 - 01:15 AM, said:
c.user, on 25 September 2010 - 04:49 AM, said:
Seta00, on 24 September 2010 - 01:11 AM, said:
I use and recommend wxPython, which is a modern, cross-platform GUI library.
how to install it to python 3.x ?
or pygtk ?
Installing Python
If you're on a Windows System, you will want to find your Python installation directory (Usually C:\Python**\)
On *NIX systems, look into using the package manager.
I use python 3.x, and there I have neither wxPython nor pygtk, except tkinter
I have python 2.x and it has already installed both packages (it can be done by standard package manager)
This post has been edited by c.user: 25 September 2010 - 07:03 PM
#9
Re: gui help
Posted 26 September 2010 - 07:35 AM
I believe I remember being able to set the "Standard" Python for your *NIX system. I remember that mine was 2.6 by default and that's where all the packages were installed. But I forgot how to change that. Look into adjusting that and use the package manager again.
If worse comes to worse, just
where the asterisks are the files/folderss you want to capy and the destination is the python 3.0 lib directory.
If worse comes to worse, just
sudo cp ******** /usr/lib/python30/lib
where the asterisks are the files/folderss you want to capy and the destination is the python 3.0 lib directory.
#10 Guest_c.user*
Re: gui help
Posted 26 September 2010 - 04:29 PM
I have python 2.6, wxPython and pygtk installed by rpm manager
site is telling (14-May-2010) wxPython 2.8.11.0 Adds Python 2.7 is latest
the wx module of python2.6 includes .py scripts written in python 2.x dialect, so I didn't try only to convert it by 2to3.py script, but I didn't try it because I guess it will not help to run wxPython on python 3.1 until the official site of wxPython release such version
with pygtk I have tryed too
I thought, perhaps, it is possible to compile wxPython from sources, I downloaded them, but their .py scripts written for python 2.x too
Dogstopper, I installed them to lib/python3.1/site-packages
site is telling (14-May-2010) wxPython 2.8.11.0 Adds Python 2.7 is latest
the wx module of python2.6 includes .py scripts written in python 2.x dialect, so I didn't try only to convert it by 2to3.py script, but I didn't try it because I guess it will not help to run wxPython on python 3.1 until the official site of wxPython release such version
with pygtk I have tryed too
I thought, perhaps, it is possible to compile wxPython from sources, I downloaded them, but their .py scripts written for python 2.x too
Dogstopper, I installed them to lib/python3.1/site-packages
This post has been edited by c.user: 26 September 2010 - 04:30 PM
#11
Re: gui help
Posted 27 September 2010 - 09:23 PM
Quote
but is there a program that is just used to design the layout of the window so that i can do more accuret coding
If you mean using drag and drop GUI editing and then customizing before you start coding, PythonCard is what you need. I use PythonCard with Python 2.5 so I am not sure if it will work with 2.7 or 3.0. It is very good and uses wx so you can customize just about everything.
Also, you can edit the GUI from with in the python code, make your own dialogs or use the already made dialogs. It works very well and after a bit of work, I figured out how to make the program run without having the need for the .rsrc.py GUI file with the .py file.
This post has been edited by Eric115: 27 September 2010 - 09:24 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote








|