September 3rd, 2003, 05:57 AM
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....
September 3rd, 2003, 06:31 AM
September 3rd, 2003, 07:56 AM
is there any way that i can use python to build a new window???pls post some syntax for me to explore.....thanks
September 3rd, 2003, 08:20 AM
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.
September 3rd, 2003, 09:29 AM
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..
#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.
#set a continuous loop, when the loop ends the window will close.