Azure Data Lake Storage is a very popular Data Storage service from Microsoft. Here I am explaining a simple python program that writes a file into ADLS.

The following python package is required for the execution of this program.
pip install azure-storage-file-datalake
After installing the package, perform the following steps.
- Login to the Azure Portal
- Go to Storage Accounts
- Create or use an existing storage account
- Create or use an existing container within the storage account
- Create a directory in the storage container
- Get the access credentials from the Access Keys section in the storage account Settings
Now we have fulfilled all the requirements for running our program. The program is given below. Update the values for storage account, container name, access credential and directory name in the below program.