I'm just starting to learn pygame. I write what I think is just about the
simplest program that should display a window and then quit.
#---
import sys
import time
import pygame
pygame.init()
screen = pygame.display.set_mode((640,480))
pygame.display.se
Thanks, M.E.Farmer.
I continue to be impressed with how quickly and nicely one can get help
here.
Brent
"M.E.Farmer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Survey says.
> ...wxYield()
>
> ;)
> M.E.Farmer
>
--
http://mail.python.or
I'm running some code that takes a long time to finish. I would like the
user to be able to do other things while it is running. It seems to me
there is a function I can call to tell wxPython to process any pending
messages or events. I would call this perhaps every 1000 times through my
loo
I copied and pasted some text into my Python code and then Pythowin put a
red squiggley underline under the two tabs at the beginning of the line.
What does that mean? I've tried various things including deleting the white
space in front of the line and reinserting the tabs. I've also tried
r
I have a third-party DLL and it's associated .h file. The DLL was written
in C. I have neither the associated .c files nor the .obj files for the
DLL. Can I use SWIG or SIP to build something that will allow me to use the
DLL with Python? And what is that something, an .obj file, another DLL
I've also tried Boa Constructor a couple of times and keep having problems
using it. So I've got it stuck in the back of my mind for when it finally
becomes ready for prime time. (One of the problems was that the tutorial
didn't quite match the program.) I really like the concept. It's a lot
The Python program won't decide whether a commercial is playing, I will. At
that point, I will run my program which will press mute, wait 20 seconds,
and then press mute again.
Actually, I could leave the program running but minimized to the task bar.
When I hear the advertisement, I just clic
I'm running Windows XP and I'm using winamp to listen to internet radio
stations. Occasionally, an annoying commercial will come on. I would like
to write a Python program that, when run, will, in essence, push on winamp's
mute button. Then, after say 20 seconds, it will push the mute button
I'd like to get a character from stdin, perform some action, get another
character, etc. If I just use stdin.read(1), it waits until I finish typing
a whole line before I can get the first character. How do I deal with this?
Brent
--
http://mail.python.org/mailman/listinfo/python-list
Thanks guys! That helps a lot.
Brent
--
http://mail.python.org/mailman/listinfo/python-list
1) I'm running a program within Pythonwin. It's taking too long and I want
to stop/kill it. What do I do (other than ctrl-alt-del)?
2) I'm running a long program and I want to minimize it to let it continue
to run in the background while I do something else in the foreground. I try
clickin
11 matches
Mail list logo