Here you can find Python code examples from RabbitMQ tutorials.
To run this code you need pika
library version 0.5.2 (newer versions
may not work). To install it run
pip install -e git+http://github.com/pika/pika.git@v0.5.2#egg=pika-v0.5.2
or
easy_install pika==0.5.2
python send.py
python receive.py
python new_task.py
python worker.py
Tutorial three: Publish/Subscribe
python receive_logs.py
python emit_log.py