How to run and deploy a simple Python code using Azure Functions from VS Code?

Justin Doh 1,000 Reputation points
2025-09-10T21:43:55.7633333+00:00

I have a simple Python script that moves data using a csv file inside Azure File Share.

My understanding is that Azure Functions could run a Python script.

I created a Azure Functions using Azure Portal, and deployed a Function (chose "HTTP_Trigger") using VS Code.

I am having difficulty tying (attaching logic) my Python script into the default py file (function_app.py).

I have a simple Python code that basically creates a csv file inside Azure.

And I have a Azure Logic App that is supposed to run this Azure Functions.

I am also not sure whether choosing "HTTP Trigger" was a right choice.

Please let me know if other option (besides "HTTP Trigger") is better.

What is simplest way to run a Python code within Azure if Azure Functions is not the answer?

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.