Skip to content

Commit 104bcb1

Browse files
Merge pull request #275274 from khdownie/patch-3
Update storage-python-how-to-use-file-storage.md
2 parents 731f73c + 0aef342 commit 104bcb1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/storage/files/storage-python-how-to-use-file-storage.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
---
22
title: Develop for Azure Files with Python
33
titleSuffix: Azure Storage
4-
description: Learn how to develop Python applications and services that use Azure Files to store file data.
4+
description: Learn how to develop Python applications and services that use Azure Files to store file data. Create and delete files, file shares, and directories.
55
author: pauljewellmsft
6-
76
ms.service: azure-file-storage
87
ms.topic: how-to
9-
ms.date: 05/04/2023
8+
ms.date: 05/13/2024
109
ms.author: pauljewell
1110
ms.custom: devx-track-python, py-fresh-zinc
1211
---
1312

14-
# Develop for Azure Files with Python
13+
# Develop Python applications that use Azure Files
1514

1615
[!INCLUDE [storage-selector-file-include](../../../includes/storage-selector-file-include.md)]
1716

@@ -24,9 +23,10 @@ Learn the basics of using Python to develop apps or services that use Azure File
2423
- Create file share backups by using snapshots
2524

2625
> [!NOTE]
27-
> Because Azure Files may be accessed over SMB, it is possible to write simple applications that access the Azure file share using the standard Python I/O classes and functions. This article will describe how to write apps that use the Azure Storage SDK for Python, which uses the [Azure Files REST API](/rest/api/storageservices/file-service-rest-api) to talk to Azure Files.
26+
> Because Azure Files may be accessed over SMB, it's possible to write simple applications that access the Azure file share using the standard Python I/O classes and functions. This article describes how to write apps that use the Azure Storage SDK for Python, which uses the [Azure Files REST API](/rest/api/storageservices/file-service-rest-api) to talk to Azure Files.
2827
2928
## Applies to
29+
3030
| File share type | SMB | NFS |
3131
|-|:-:|:-:|
3232
| Standard file shares (GPv2), LRS/ZRS | ![Yes](../media/icons/yes-icon.png) | ![No](../media/icons/no-icon.png) |
@@ -36,7 +36,7 @@ Learn the basics of using Python to develop apps or services that use Azure File
3636
## Download and Install Azure Storage SDK for Python
3737

3838
> [!NOTE]
39-
> If you are upgrading from the Azure Storage SDK for Python version 0.36 or earlier, uninstall the older SDK using `pip uninstall azure-storage` before installing the latest package.
39+
> If you're upgrading from the Azure Storage SDK for Python version 0.36 or earlier, uninstall the older SDK using `pip uninstall azure-storage` before installing the latest package.
4040
4141
The [Azure Files client library for Python](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/storage/azure-storage-file-share) requires Python 3.8+.
4242

@@ -121,6 +121,7 @@ You can download a file from a share snapshot, which enables you to restore a pr
121121
:::code language="python" source="~/azure-storage-snippets/files/howto/python/python-v12/file_share_ops.py" id="Snippet_DownloadSnapshotFile":::
122122

123123
## Delete a single share snapshot
124+
124125
You can delete a single share snapshot.
125126

126127
:::code language="python" source="~/azure-storage-snippets/files/howto/python/python-v12/file_share_ops.py" id="Snippet_DeleteSnapshot":::

0 commit comments

Comments
 (0)