[Tutor] Network stuff

Gerardo Arnaez garnaez at yahoo.com
Sat Aug 23 16:33:28 EDT 2003


Hello all, enjoying the heck out of python. using to
help set up user accounts at a public internet cafe
where they will sell these accoutnts in 30 min
sessions.

Right now I can get a list of any user and total time
logged in to one computer.  I break this up into a
dictionary.

The problem is that I am not sure how to transmit this
information.  Ie I have some data I want to sent to
another application on another computer.

At first twisted was mentioned to me,
and I see socket and socketServer modules,
but I need some hints in what would be the pythonic
way to go about this.

All I really want to do is send a dictionary from a
client app and have it examined in the server app.

Anyway, I would should could but its so simplistic
that is amounts to parseing the output of 'ac' an gnu
account procces and logins
and storing them into a dictionary.

Anyway, Thanks for all your help

G




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the Tutor mailing list