WinPops

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hari Sekhon

    #1

    WinPops

    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
  • Roger Upole

    #2
    Re: WinPops


    "Hari Sekhon" <sekhon.hari@go oglemail.com> wrote in message news:mailman.62 30.1148640634.2 7775.python-list@python.org ...[color=blue]
    > 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[/color]

    On Windows, you can use win32net.NetMes sageBufferSend.

    Roger




    ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= East/West-Coast Server Farms - Total Privacy via Encryption =---

    Comment

    • Peter Gsellmann

      #3
      Re: WinPops

      Roger Upole wrote:
      [color=blue]
      >
      > "Hari Sekhon" <sekhon.hari@go oglemail.com> wrote in message
      > news:mailman.62 30.1148640634.2 7775.python-list@python.org ...[color=green]
      >> 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[/color]
      >
      > On Windows, you can use win32net.NetMes sageBufferSend.
      >
      > Roger
      >[/color]
      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

      Comment

      Working...