pydelion.com

date --date="5 min ago" +%d/%b/%Y:%H:%M

  • en
    • English
    • Français
    • Español
  • Home
  • about
  • contact

Tag Archives: jabber

26 Feb

How to send a message over Jabber from Python

Sending a message over Jabber from Python is a simple task. Let’s install Python Jabber/XMPP implementation called pyxmpp2:

python-pip install pyxmpp2

Now download client example:

wget https://raw.github.com/Jajcus/pyxmpp2/master/examples/send_message_client.py

And run:

python send_message_client.py

After you enter all data a message will be sent.

dandelion Posted in python, tips jabber, python Leave a comment

Post navigation

Archives

  • May 2022
  • March 2020
  • January 2020
  • December 2019
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • January 2018
  • November 2017
  • August 2017
  • February 2017
  • January 2017
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • March 2015
  • November 2014
  • October 2014
  • August 2014
  • June 2014
  • May 2014
  • September 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013

Meta

  • Log in
Fruitful theme by fruitfulcode Powered by: WordPress
↑