Event Handling Error in Python 3.4.3

2015-09-26 Thread Supra1983 Tech
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 =

List insert at index that is well out of range - behaves like append that too SILENTLY

2014-09-15 Thread Harish Tech
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

Multiple python installations mix their sys.prefix

2011-01-24 Thread Tech Support Box
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,

graphing lifelines

2008-07-15 Thread E. J. Gold is the Hi-Tech Shaman
(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

Re: graphing lifelines

2008-07-15 Thread E. J. Gold is the Hi-Tech Shaman
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

modify a file

2007-11-04 Thread tech user
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.

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Tech HR
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

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Tech HR
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

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Tech HR
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

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Tech HR
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

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Tech HR
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

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Tech HR
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

Jobs: Lisp and Python programmers wanted in the LA area

2007-02-25 Thread Tech HR
in joining us drop us a line at: tech-hr at smartcharter.com -- http://mail.python.org/mailman/listinfo/python-list

Jobs: Lisp and Python programmers (Los Angeles)

2007-02-24 Thread Tech HR
http://www.smartcharter.com/jobs.html -- http://mail.python.org/mailman/listinfo/python-list

Lisp/Python programmers (among others) wanted

2006-12-19 Thread Tech HR
not be our first choice. Contact us at tech-hr at smartcharter dot com. -- http://mail.python.org/mailman/listinfo/python-list

Re: 10, 20, 30 to [10, 20, 30]

2006-11-23 Thread Tech
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

Re: Simulate input to another program

2006-07-27 Thread TeCh
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