Re: WinPops

2006-06-01 Thread Peter Gsellmann
Roger Upole wrote: > > "Hari Sekhon" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Hi, >> Is there a way of sending winpops (Windows Pop-Up / Net Send messages) >> in python? >> >> Perhaps some library or something that I can use under both Windows and >> Linux? >> >> Hari

Re: obtain client ip address from SimpleXMLRPCServer ?

2006-01-27 Thread Peter Gsellmann
[EMAIL PROTECTED] wrote: > Thanks for the reply Peter. Can you provide a code snippet for > extracting this data. When I print the dir() of the SimpleXMLRPCServer > instance I do not see a request_handler attribute or method. this is ok. In the serverclass-object, there is no such method because

Re: obtain client ip address from SimpleXMLRPCServer ?

2006-01-24 Thread Peter Gsellmann
[EMAIL PROTECTED] wrote: > Is it possible to obtain the client's ip address from a > SimpleXMLRPCServer instance or subclass instance? When running > SimpleXMLRPCServer with logRequests = 1, the xmlrpc server prints out > the fqdn on the console, however, I'm not sure if this information > (eithe

Re: Testing for the presence of input from stdin.

2006-01-23 Thread Peter Gsellmann
Will McDonald wrote: > On 23/01/06, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> > I can get the script to behave as expected when content's piped to it >> > using sys.stdin but I'd like to know that there's data coming from >> > stdin or fail and print the useage again. Is there a simple way to