Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
Hi,
Please suggest code to download files from Fabric lakehouse to my local computer. I want to run this code in my fabric notebook.
Hi @SriThiru ,
May I ask if your problem has been solved. If not you may consider using Python in your Fabric notebook like below:
import requests
file_url = 'https://fabric-lakehouse-url/path/to/your/file'
local_path = 'path/to/save/file'
response = requests.get(file_url)
with open(local_path, 'wb') as file:
file.write(response.content)
print(f'File downloaded and saved to {local_path}')
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Have you tried the OneLake app? It works much like OneDrive.
Download Microsoft OneLake file explorer for Windows from Official Microsoft Download Center
Hi @abm_chris ,
Yes I tried the app.
But I want to do this programatically, can you please suggest the code.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
9 | |
5 | |
4 | |
3 | |
3 |