, so why not make use of it. But my
personal choice will be Sublime and pyCharm or even vim.
Shao Hong
shaohon...@gmail.com
"Respect needs to be earned, but honour is an attitude of the heart. Not
everyone will earn your respect, but everyone deserves to be shown honour."
- Anonymou
GOAL:spawn a few greenlet worker deal with the data pop from redis (pop from
redis and then put into queue)
RUNNING ENV: ubuntu 12.04
PYTHON VER: 2.7
GEVENT VER: 1.0 RC2
REDIS VER:2.6.5
REDIS-PY VER:2.7.1
from gevent import monkey; monkey.patch_all()
import gevent
from gevent.pool import Group
f
hi,
Is there a crawler written by python? anybody can give me more information?
thanks a lot!
--
http://mail.python.org/mailman/listinfo/python-list
Dear All,
I am using Python 2.5 and used py_compile to produce a .pyc file. The
script runs well. However, the .pyc keeps running and never stops.
Advices will be deeply appreciated.
Regards.
David
--
http://mail.python.org/mailman/listinfo/python-list
and Windows Server.
Regards.
Shao
--
http://mail.python.org/mailman/listinfo/python-list
*Gabriel Genellina* gagsl-py2 at yahoo.com.ar
*Wed Apr 16 08:44:10 CEST 2008*
> Another thing would be to rearrange the loops so the outer one executes
less times; if you know that borderX<--
http://mail.python.org/mailman/listinfo/python-list
I've written up a stripped down version of the code. I apologize for the bad
coding; I am in a bit of a hurry.
import random
import sys
import time
sizeX = 320
sizeY = 240
borderX = 20
borderY = 20
# generates a zero matrix
def generate_zero():
matrix = [[0 for y in range(sizeY)] for x in ra
The project I'm working on is motion detection, involving a bit of image
processing. No worries: no image processing background needed.
Suffice to say that I initially wrote a script that goes through every pixel
of a 320x240 picture (turned into an array using PIL) and performs some
calculatiosn.
On Fri, Apr 11, 2008 at 3:29 PM, Steve Holden <[EMAIL PROTECTED]> wrote:
> Jonathan Shao wrote:
>
> > Hi all,
> > I'm a beginner to Python, so please bear with me.
> > Is there a way of guarenteeing that all created threads in a program
> > are finis
Hi all,
I'm a beginner to Python, so please bear with me.
Is there a way of guarenteeing that all created threads in a program are
finished before the main program exits? I know that using join() can
guarentee this, but from the test scripts I've run, it seems like join()
also forces each individ
10 matches
Mail list logo