need code-snippet for a simple dialog window in wxPython

C

Christoph Lehmann

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
 
R

R.Marquez

Christoph Lehmann said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top