Sebastien LELONG wrote:
>> If you are running debian, what python addon's have you
>> installed?
> 
> Plenty of, the list is big. For me, none are about this. subprocess module 
> aimed to replace function about dealing with system calls found os module 
> (popen*, spawn, ...). subprocess is part of the "Python Library Reference", 
> and should come with any python installation.
> 
> Searching for a select.py on my machine (ubuntu), I did *not* found it :) but 
> I found select.so lib, which can be called as a module python. Can you try 
> this command (shell):
> 
>     locate select.so
> 
> This gives, for me:
> 
>     /usr/lib/python2.4/lib-dynload/select.so
>     /usr/lib/python2.5/lib-dynload/d  select.so

Yes

/usr/lib/python2.3/lib-dynload/select.so
/usr/lib/python2.4/lib-dynload/select.so
/usr/lib/python2.5/lib-dynload/select.so

> 
> Can you also try, in a python console, "import select", then "print select", 
> to see where the module comes from (this should be consistent with what the 
> locate gave) ?

That's it!

Python 2.5.2 (r252:60911, Sep 29 2008, 21:10:35)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import select
 >>> print select
<module 'select' from '/usr/lib/python2.5/lib-dynload/select.so'>
 >>>

I haven't used python in a few years now and don't recall ever using 
select.  Guess I have to pop open the books again.

Anyway, you were correct as usual, any decent distribution 'will' have 
select.  You just have to figure out where it is and how to use it.  :-)

Thanks again Seb.

Wayne

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to