Hi,
I just got into Python when I tried to make a message board of my own
using CGI. After about 4 days from when I started reading Python
tutorials (I spent a couple of hours each day) it was fully functional,
even tho it had almost zero features.
I was impressed.
And I'm not an advanced programmer in any way..
Anyway, today I tried to find some way of using Python to draw graphics on
the screen somehow and after a while I found wxPython which seems very
nice judging by what people seem to think of it
However I wasn't exactly thrilled when I couldn't find a version
compatible with Python 2.2 (the latest version from python.org)...
I suppose it is being compatibalized (ehehe.. dont tell me that's
actually a word ) to 2.2. Is it worth the wait or should I download
Python 2.1 instead?
If the code interests you just ask for it Its nothing spectacualr tho I
can assure you
···
-------------------------------------------------------------------------
Anders Elfgren || AKA: Srekel and Farfar
Homepage: http://hem.passagen.se/srekel || Alt email: srekel@icqmail.com
ICQ: 4596105 || AIM: Srekel
- Cookie is good || - CS is one half of my life
PTF: www.dtek.chalmers.se/~srekel/ptf || mNag and member of FUSK
-------------------------------------------------------------------------
However I wasn't exactly thrilled when I couldn't find a version
compatible with Python 2.2 (the latest version from python.org)...
It's still beta and will be for 4 to 6 weeks.
I suppose it is being compatibalized (ehehe.. dont tell me that's
actually a word ) to 2.2. Is it worth the wait or should I download
Python 2.1 instead?
I had hoped to have a Python 2.2 version built for the next wxPython
snapshot, but I've been having some problems with it so I don't think it's
gonna be ready this time around. If I were in your shoes would get Python
2.1.1 and use a wxPython 2.3.2 beta.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
Well, 2.3.1 (wxGTK/wxPython) compiled quite fine against python 2.2b1. Only
thing I seem to need here is a python compiled with LINKCC=c++. (SuSE
7.3/i386)
Andreas
- --
Andreas Kostyrka; Raiffeisenstr. 16/9; 2320 Zwölfaxing
Tel: +43/676/4091256; Fax: +43/1/7065299
···
Am Samstag, 17. November 2001 07:43 schrieb Robin Dunn:
I had hoped to have a Python 2.2 version built for the next wxPython
snapshot, but I've been having some problems with it so I don't think it's
gonna be ready this time around. If I were in your shoes would get Python
2.1.1 and use a wxPython 2.3.2 beta.
Hi, I'm trying to get kbhit() to work but I haven't succeeded yet.
The loop is very simple
import msvcrt
def l():
x = 0
while (msvcrt.kbhit() == 0):
x=0
while (x<100000):
x=x+1 #delay
print "waiting... ",
print "Done!"
what I'm trying to do is to simply jump out of the loop when I press a
button.
Also, what do I do to "catch" that keypress, to store its value? getch()
right?
how would I use that?
Thanks,
···
-------------------------------------------------------------------------
Anders Elfgren || AKA: Srekel and Farfar
Homepage: http://hem.passagen.se/srekel || Alt email: srekel@icqmail.com
ICQ: 4596105 || AIM: Srekel
- Cookie is good || - CS is one half of my life
PTF: www.dtek.chalmers.se/~srekel/ptf || mNag and member of FUSK
-------------------------------------------------------------------------
Well, 2.3.1 (wxGTK/wxPython) compiled quite fine against python
2.2b1. Only thing I seem to need here is a python compiled with
LINKCC=c++. (SuSE 7.3/i386)
The problems I have been dealing with are with the win32 version and some
parts of the code getting compiled incorrectly. I have figured out the
cause, but not yet where to put the blame.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
> Well, 2.3.1 (wxGTK/wxPython) compiled quite fine against python
> 2.2b1. Only thing I seem to need here is a python compiled with
> LINKCC=c++. (SuSE 7.3/i386)
The problems I have been dealing with are with the win32 version and some
parts of the code getting compiled incorrectly. I have figured out the
cause, but not yet where to put the blame.
Python 2.2b2 has introduced what I consider a bug to Python.h that affects
building wxPython with a debug or hybrid version of wxWindows (they just
coredump) and also there is an incompatible API change that breaks a
critical 3 line bit of code in wxPython for reflecting virtual methods to
Python callbacks. (For example try running the wxGrid demos that have a
custom table.)
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!