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
> 
> On Windows, you can use win32net.NetMessageBufferSend.
> 
>         Roger
> 
On Linux, i use the smbclient binary:
  from subprocess import *
  q=Popen(['smbclient','-M','maggy'],stdin=PIPE)
  q.stdin.write('hello!')
  q.stdin.close()
  q.wait()

Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to