[Tutor] Network stuff

tpc at csua.berkeley.edu tpc at csua.berkeley.edu
Tue Aug 26 09:46:41 EDT 2003


hi Gerardo, I am wondering if both applications are running on top of a
web server, in which case you can use HTTP POST or GET to pass the strings
along using key, value pairs.

On Sat, 23 Aug 2003, Gerardo Arnaez wrote:

> 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
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>




More information about the Tutor mailing list