Commit 14aa5523 authored by MVMolchanova's avatar MVMolchanova
Browse files

Upload New File

parent 5cfeaf39
import pik
credentials = pika.PlainCredentials('Anton', 'Anton')
connection = pika.BlockingConnection(
pika.ConnectionParameters(host='', port=5672, virtual_host='/', credentials=credentials))
channel =
for num in range(101):
channel.basic_publish(exchange='', routing_key='Anton', body=str(num*num))
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment