473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

need code-snippet for a simple dialog window in wxPython

Hi

I am a newbie and have a very simple python code, doing some calculations.

maybe there is one already having a code snippet in wxPython for what I need:

(i) simple dialog box, where the user can enter an integer. after
closing the dialog I get this integer. nothing more

(ii) similar for getting a file-name (with a file-dialog)

thanks a lot
christoph
--
Christoph Lehmann <ch***************@gmx.ch>
Jul 18 '05 #1
2 2046
Download the wxpython demo from their website. Also check out the wiki for additional help: http://wiki.wxpython.org/index.cgi/MessageBoxes

On Tue, 26 Aug 2003 12:53:12 +0200
Christoph Lehmann <ch***************@gmx.ch> wrote:
Hi

I am a newbie and have a very simple python code, doing some calculations.

maybe there is one already having a code snippet in wxPython for what I need:

(i) simple dialog box, where the user can enter an integer. after
closing the dialog I get this integer. nothing more

(ii) similar for getting a file-name (with a file-dialog)

thanks a lot
christoph
--
Christoph Lehmann <ch***************@gmx.ch>

Jul 18 '05 #2
Christoph Lehmann <ch***************@gmx.ch> wrote in message news:<ma**********************************@python. org>...
Hi

I am a newbie and have a very simple python code, doing some calculations.

maybe there is one already having a code snippet in wxPython for what I need:

(i) simple dialog box, where the user can enter an integer. after
closing the dialog I get this integer. nothing more

(ii) similar for getting a file-name (with a file-dialog)

thanks a lot
christoph


There is a nice little example on the "Python Introduction Slides"
currently being discussed in a separate thread of this news group.

This is the link to the presentation:
http://www.cs.bgu.ac.il/~tebeka/pyintro_files/frame.htm

See the second example after the "GUI" slide.
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Beach Potato | last post by:
Dear Y'all: I'm about to start porting a big old project written in anscient version of Delphi to something more stable, robust, supportable and maybe even portable. Since I haven't seriously...
15
by: drdoubt | last post by:
using namespace std In my C++ program, even after applying , I need to use the std namespace with the scope resolution operator, like, std::cout, std::vector. This I found a little bit...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
48
by: Chad Z. Hower aka Kudzu | last post by:
A few of you may recognize me from the recent posts I have made about Indy <http://www.indyproject.org/indy.html> Those of you coming to .net from the Delphi world know truly how unique and...
2
by: Kiran | last post by:
Hi, I use a lot of web user controls for web development. And I need all your views on this. (1)Does the functionality(Logic part) of a web user control should be included in the aspx page...
3
by: Daniel Kaseman | last post by:
I'm looking for a good coding example program. Something that has buttons, listboxes, textboxes, etc... Do While Loops, For next Loops, etc.. Select Case blocks, etc... You know what I...
40
by: apprentice | last post by:
Hello, I'm writing an class library that I imagine people from different countries might be interested in using, so I'm considering what needs to be provided to support foreign languages,...
6
by: kenshiro | last post by:
Hi All, I'm having a problem with some VBA code in one of my Access 2003 databases. I'm getting the following error when running code behind a command button on a form: "Item not found in this...
4
by: Quas.co.ua | last post by:
Hello all. I need your help. I need C compler to make demo of some technologie. This C compiler I need to write program which after run will be located in one segment of memory and it...
9
by: MrHelpMe | last post by:
Hello again experts, I have successfully pulled data from an LDAP server and now what I want to do is drop the data into a database table. The following is my code that will insert the data but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.