|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi, i am very new to python...i would like to ask how am i able to program an application with python using the gui control available.....pls post some sites for me to refer to and can someone post a code on how to create a simple input box for user to enter for me to have a view on the syntax of python....thanks alot....
|
|
#2
|
|||
|
|||
|
You might find something useful at Python GUI Programming at metaslash.com.
Another link you could follow is An Introduction to Tkinter at pythonware.com. |
|
#3
|
|||
|
|||
|
is there any way that i can use python to build a new window???pls post some syntax for me to explore.....thanks
|
|
#4
|
|||
|
|||
|
Yes you can build windowed apps with Python. Check out a tkinter tutorial and you can also try out wxpython, it's pretty popular.
Last edited by damonbrinkley : September 3rd, 2003 at 08:25 AM. |
|
#5
|
||||
|
||||
|
I'm a lil comfused, do you mean just a basic window app or a sub window? Here is the hello world example from the Tkinter intro plus comments..
Code:
#import all from the Tkinter module from Tkinter import * #make an instance of Tk() named root. root = Tk() #create a lable with the words "Hello, world!".. w = Label(root, text="Hello, world!") #then make the lable visable inside the root window. w.pack() #set a continuous loop, when the loop ends the window will close. root.mainloop() Mark. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > GUI question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|