You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/service-bus-python-how-to-use-queues.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ To use this quickstart with your own Azure account:
48
48
49
49
### [Connection string](#tab/connection-string)
50
50
51
-
Note down the following, which you'll use in the code below:
51
+
Note the following, which you'll use in the code below:
52
52
* Service Bus namespace **connection string**
53
53
* Service Bus namespace **queue** you created
54
54
@@ -69,7 +69,7 @@ Note down the following, which you'll use in the code below:
69
69
70
70
1. To install the required Python packages for this Service Bus tutorial, open a command prompt that has Python in its path, change the directory to the folder where you want to have your samples.
71
71
72
-
1. Install the following packages by running:
72
+
1. Install the following packages:
73
73
74
74
```shell
75
75
pip install azure-servicebus
@@ -81,11 +81,10 @@ Note down the following, which you'll use in the code below:
81
81
82
82
1. To install the required Python packages forthis Service Bus tutorial, open a command prompt that has Pythonin its path, change the directory to the folder where you want to have your samples.
83
83
84
-
1. Install the following packages by running:
84
+
1. Install the following package:
85
85
86
86
```bash
87
87
pip install azure-servicebus
88
-
pip install aiohttp
89
88
```
90
89
91
90
---
@@ -328,15 +327,15 @@ Open your favorite editor, such as [Visual Studio Code](https://code.visualstudi
328
327
await credential.close()
329
328
```
330
329
331
-
1. Call the `run` method and print a message.
330
+
1. Call the `run` method.
332
331
333
332
```python
334
333
asyncio.run(run())
335
334
```
336
335
337
336
### [Connection string](#tab/connection-string)
338
337
339
-
1. Similar to the send sample, add import statements and define constants that you should replace with your own values.
338
+
1. Similar to the send sample, add `import` statements and define constants that you should replace with your own values.
340
339
341
340
```python
342
341
import asyncio
@@ -366,7 +365,7 @@ Open your favorite editor, such as [Visual Studio Code](https://code.visualstudi
0 commit comments