two questions - sockets / c functions

Oleg Broytmann phd at phd.pp.ru
Mon Dec 10 08:54:17 EST 2001


On Mon, Dec 10, 2001 at 08:53:07AM -0500, David Hill wrote:
> I am learning python, and I like what I see so far.

   Welcome!

> Is it possible to use sockets with python, so that I may write client/server
> code?  If so, where can I find more information?

   http://www.mcmillan-inc.com/sock1.html
   http://py-howto.sourceforge.net/sockets/sockets.html
   http://www.python.org/doc/current/lib/module-socket.html

> Is it possible to use c functions within python?  For example, openbsd has a
> function arc4random().  How could I use this in python?

   http://www.python.org/doc/current/ext/ext.html
   http://www.swig.org/

   http://www.mcmillan-inc.com/scxx.html
   http://CXX.sourceforge.net/
   http://www.boost.org/libs/python/doc/index.html

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list