Skip to content

Commit dd4efb2

Browse files
committed
1561486, minor edits to preapre for peer review.
1 parent 1d9a1ad commit dd4efb2

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

articles/azure-functions/functions-create-first-function-python.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,13 @@ A Functions project is the equivalent of a function app in Azure. It can have mu
6666
6767
1. In the virtual environment, run the following command:
6868
69-
```console
70-
func init MyFunctionProj
71-
```
69+
```console
70+
func init MyFunctionProj
71+
```
72+
7273
1. Select **python** as your worker runtime.
7374
74-
The command creates a _MyFunctionProj_. It contains these three files:
75+
The command creates a _MyFunctionProj_ folder. It contains these three files:
7576
7677
* `local.settings.json`: used to store app settings and connection strings when running locally. This file doesn't get published to Azure.
7778
* `requirements.txt`: contains the list of packages the system will install on publishing to Azure.
@@ -157,7 +158,7 @@ The function runs locally using the same Azure Functions runtime that is in Azur
157158
158159
![Test locally in the browser](./media/functions-create-first-function-python/function-test-local-browser.png)
159160
160-
1. Select Ctrl+C to shut down your function app
161+
1. Select Ctrl+C to shut down your function app.
161162
162163
Now that you have run your function locally, you can create the function app and other required resources in Azure.
163164

articles/storage/blobs/storage-quickstart-blobs-python.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ In the application, provide your storage account name and account key to create
4545

4646
1. Open the *example.py* file from the Solution Explorer in your IDE.
4747

48-
1. Replace the `accountname` and `accountkey` values with your storage account name and key.
48+
1. Replace the `accountname` and `accountkey` values with your storage account name and key:
4949

5050
```python
5151
block_blob_service = BlockBlobService(
52-
account_name='accountname', account_key='accountkey')
52+
account_name='accountname', account_key='accountkey')
5353
```
5454

5555
1. Save and close the file.
@@ -64,13 +64,13 @@ This sample creates a test file in the *Documents* folder. The sample program up
6464
pip install azure-storage-blob
6565
```
6666

67-
1. Go to the sample application
67+
1. Go to the sample application:
6868

6969
```console
7070
cd storage-blobs-python-quickstart
7171
```
7272

73-
1. Run the sample.
73+
1. Run the sample:
7474

7575
```console
7676
python example.py
@@ -141,7 +141,7 @@ Blob storage supports block blobs, append blobs, and page blobs. Block blobs are
141141

142142
To upload a file to a blob, get the full file path by joining the directory name with the file name on your local drive. You can then upload the file to the specified path using the `create_blob_from_path` method.
143143

144-
The sample code creates a local file the system uses for the upload and download, storing the file the system uploads as *full_path_to_file* and the name of the blob as *local_file_name*. This example uploads the file to your container called `quickstartblobs`**`:
144+
The sample code creates a local file the system uses for the upload and download, storing the file the system uploads as *full_path_to_file* and the name of the blob as *local_file_name*. This example uploads the file to your container called `quickstartblobs`:
145145

146146
```python
147147
# Create a file in Documents to test the upload and download.

0 commit comments

Comments
 (0)