Luc Stepniewski's Blog
Luc Stepniewski's Blog
Skip to content
  • About
  • Author
  • Privacy Policy

python

There are 4 posts tagged python (this is page 1 of 1).

How to make the simplest unittests in Python

Testing your code is nearly a requirement (even more so in Ruby). Unittests are now the most vital elements for evaluating the quality/viability of a project. I was a little jealous of Ruby where you don’t have so much to write to implement unittests. Here is a simple example: require “mymodule” require “test/unit” class TestMyModule […]

in python, ruby | 376 Words

Default behaviour in implementation of STOMP protocol in RabbitMQ with python

Why STOMP? Why STOMP, and not directly AMQP, as I’m using RabbitMQ. No real reason, but the fact that there are less dependencies on a STOMP client, as it’s just a socket with text sent. Implementations There are several implementations of the STOMP protocol for Python. The module I chose is python-stomp (version 0.2.9), from […]

in network, python, rabbitmq | 465 Words

How to dial a number using Asterisk and Python

I didn’t find any example in Python on how to Dial a number from an Asterisk server and link it to another channel. So here’s a quick code to do it. You just need to have a manager defined in your /etc/asterisk/manager.conf defined. import socket   HOST=”192.168.1.116″ PORT=5038   p = “””Action: login Events: off […]

in asterisk, python, voip | 176 Words | 3 Comments

Making and deploying a Twisted project as a service under Windows

What is the goal? The goal is to implement a program in Python+Twisted (using PB for network access) under Windows XP or 2000+, that can be run before a user logs on, so it has to be a windows service, launched automatically, at boot. Another goal is to show some developement patterns in Twisted. You […]

in python, software, twisted | 4,072 Words | Comment

Bitcoin Donations

Recent Posts

  • Three different ways to connect two Go services with gRPC
  • Unexpected change in Neovim configuration storage
  • Bye bye vim powerline, hello airline
  • Combining jQuery Mobile and Flask-WTF may give you headaches, or why dashes suck in Python variable names
  • Book Review: Tactics Time! 1001 Chess Tactics from the Games of Everyday Chess Players

Recent Comments

  • Duncan on How to recover from Cyrus when you have some DB errors
  • jones on How to dial a number using Asterisk and Python
  • Chris on Fail2ban Configuration for NGINX anomalies
  • Quora on New version of chess PGN to TeX to PDF converter
  • admin on Easy chess games for kids (mate in one)

Blogroll

  • Aïkido Club Asnières
  • All Japanese all the time
  • Cours de Japonais
  • Gradstein Family Tree
  • OxyRadio, Webradio Libre
  • Twisted Matrix

Subscribe in a reader

Chess Puzzle of the Day

Tag Cloud

asterisk automatic bot chess children cluster deployment dial download free hardware hook hotplug kid kindergarten latex learn learning linux login management mate mate in one mediawiki mount pdf pgn photos program puppet python rc recent changes redirect reductivelabs ruby run script teaching ubuntu udev url usb voip wikipedia

Archives

  • September 2018
  • January 2016
  • February 2014
  • February 2013
  • December 2012
  • December 2011
  • December 2010
  • September 2010
  • August 2010
  • January 2010
  • December 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • September 2008
  • April 2008
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • September 2006
  • June 2005
  • February 2004
  • December 2003
  • November 2003
Independent Publisher empowered by WordPress