[PythonCE] Re: no select module

Voidspace mike at pcblokes.com
Tue Dec 2 05:28:56 EST 2003

I'm not an expert either - but this list can be quite quiet so I'll give 
you two suggestions.

First - see if you can find the same .pyc file from the standard python 
2.3 distribution. as it is a .pyc it is a compiled python file - so the 
standard one will run - whether it will *work* is a different matter :-)

If it doesn't work - try emailing hte question to help at python.org
They won't be able to rebuild select for the pocketPC - but they might 
help you find a work around (you could also try the newsgroup 
comp.lang.python )


mailing at piwo.ws wrote:

>Hi :)
>B>   Will select module from windows i386 python 2.2 work ?
>Ups, sorry, i am wrong :) I guess it cannot be done so easy :)
>I need select module within a script i must run on PPC 2003.
>This module is used in two places:
>    rlist, wlist, elist = select.select([request], [], [], 0.1)
>and here in sockets:
>    soc = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>    soc.connect((HOSTNAME, PORT))
>    soc.send(data)
>    rlist, wlist, elist = select.select([soc], [], [], 15)
>    if rlist:
>        answer = soc.recv(9999)
>        return answer
>    soc.close()
>Does anyone know, how can i get the same efect without using select
>module. Sorry, but i am not python programmer :)


The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. 

The Atlantibot coding message group.

Everyone has talent. What is rare is the courage to follow talent
 to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy.
         -Milan Kundera

More information about the PythonCE mailing list