Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 3rd, 2003, 05:57 AM
Newbie83 Newbie83 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 104 Newbie83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Arrow GUI question

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

Reply With Quote
  #2  
Old September 3rd, 2003, 06:31 AM
percivall percivall is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 133 percivall User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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.

Reply With Quote
  #3  
Old September 3rd, 2003, 07:56 AM
Newbie83 Newbie83 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 104 Newbie83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
is there any way that i can use python to build a new window???pls post some syntax for me to explore.....thanks

Reply With Quote
  #4  
Old September 3rd, 2003, 08:20 AM
damonbrinkley damonbrinkley is offline
Modz
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: NC, USA
Posts: 364 damonbrinkley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 18 sec
Reputation Power: 7
Send a message via AIM to damonbrinkley
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.

Reply With Quote
  #5  
Old September 3rd, 2003, 09:29 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 3 m 4 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > GUI question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT