Category: Python Tricks

Send file attachments via Email using Python in Databricks

In this blog, You will be learning How to send data files in attachments via Email using Python in Databricks. Sometimes, We get requirements to send data files that are saved in External locations like ADLS, Blob Storage, S3 bucket, etc, or DBFS via Email to stakeholders and another downstream user. You might be thinking […]

How to avoid Multiple if-else conditions in Python

In Python, we use the if else condition blocks to write code in Python, sometimes we have to write multiple if else conditions, and hence code looks confusing and difficult to understand. Let’s take below an example of the if-else program by writing a simple calculator program. The output is 30. Now, we will try […]

Back To Top