I have a python script for a game and the problem is that after running the
game, the blocks start falling, but the game over message is not popping up at
proper times. Here is my script:
import pygame
import time
import random
pygame.init()
display_width = 800
display_height = 600
black =
Hi ,
Let me demonstrate the problem I encountered :
I had a list
a = [1, 2, 3]
when I did
a.insert(100, 100)
[1, 2, 3, 100]
as list was originally of size 4 and I was trying to insert value at index
100 , it behaved like append instead of throwing any errors as I was trying
to insert in an
Hi there
I have several versions of python2.4 installed:
- the OS, rpm-installed one in /usr
- Several other versions in /usr/local, installed with --prefix /usr/
local/inst-shared/version --exec-prefix /usr/local/inst/version
My problem is when starting one of the versions from /usr/local,
(crossposted to sci.math)
I'm looking for a tool which will take a dataset of tuples indicating
the year of birth and death of a person:
(1872, 1950, Sri Aurobindo)
(1821, 1910, Mary Baker Eddy)
(1831, 1891, HP. Blavatksy)
And graph them out, in bars, annotating them with the person's name.
A
On Jul 15, 3:38 pm, Larry Bates [EMAIL PROTECTED] wrote:
Certainly a Hi-Tech Shaman can whip something up to do this, right?
Yes, well E.J. Gold is the Hi-Tech Shaman. I'm Terrence Brannon,
stating that fact :)
So, maybe EJ could whip up such a thing :)
I like the sci.math answer I got
Hello,
I have a file which is large about 3.5G.
I need to modify some lines in it,but I don't like to create another file
for the result.
How can i do it? thanks.
National Bingo Night. Play along for the chance to win $10,000 every week.
Download your gamecard now at Yahoo!7 TV.
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
On Feb 26, 6:32 am, Tech HR [EMAIL PROTECTED] wrote:
Our
website is currently a LAMP appication with P=Python. We are looking for
bright motivated people who know or are willing to learn Python and/or
Linux, Apache and MySQL system
In article [EMAIL PROTECTED],
Ray Dillinger [EMAIL PROTECTED] wrote:
Tech HR wrote:
But we're a very young company (barely six months old at this point) so
we're willing to listen to most anything at this point. (We're using
Darcs for revision control. Haskell, anyone?)
Tell us
In article [EMAIL PROTECTED],
Dan Bensen [EMAIL PROTECTED] wrote:
Tech HR wrote:
easier to train a Java programmer or a Perler on Python than Lisp.
Are your technical problems simple enough to be solved by Python trainees?
Some are. Some aren't. That's why we're using Lisp too
In article [EMAIL PROTECTED],
Paul Rubin http://[EMAIL PROTECTED] wrote:
You know about http://lispjobs.wordpress.com I presume.
I did not. Thanks for the pointer.
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
Bruce Lewis [EMAIL PROTECTED] wrote:
Tech HR [EMAIL PROTECTED] writes:
(Actually,
it's turning out to be hard to find Python programmers too, but it's
easier to train a Java programmer or a Perler on Python than Lisp.
Is this speculation or experience
In article [EMAIL PROTECTED],
Tech HR [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Ray Dillinger [EMAIL PROTECTED] wrote:
Tech HR wrote:
But we're a very young company (barely six months old at this point) so
we're willing to listen to most anything at this point
in joining
us drop us a line at: tech-hr at smartcharter.com
--
http://mail.python.org/mailman/listinfo/python-list
http://www.smartcharter.com/jobs.html
--
http://mail.python.org/mailman/listinfo/python-list
not be our first choice.
Contact us at tech-hr at smartcharter dot com.
--
http://mail.python.org/mailman/listinfo/python-list
Daniel Austria a écrit :
Sorry,
how can i convert a string like 10, 20, 30 to a list [10, 20, 30]
what i can do is:
s = 10, 20, 30
tmp = '[' + s + ']'
l = eval(tmp)
but in my opinion this is not a nice solution
daniel
If you're sure that there's only ints
l = [int(item) for
Python module for spawning child applications;
controlling them; and responding to expected patterns in their
output. Pexpect works like Don Libes' Expect. Pexpect allows your
script to spawn a child application and control it as if a human were
typing commands.
/quote
--
TeCh
--
http
17 matches
Mail list logo