---
title: "Python Hello World"
description: "Use Python on Vercel with Serverless Functions using the Python Runtime."
url: "https://vercel.com/templates/python/python-hello-world"
links:
  repository: "https://github.com/vercel/examples/tree/main/python/hello-world"
  demo: "https://python-hello-world.vercel.app/"
  deploy: "https://vercel.com/new/clone?demo-title=Python+Hello+World&demo-description=Use+Python+on+Vercel+with+Serverless+Functions+using+the+Python+Runtime.&demo-url=https%3A%2F%2Fpython-hello-world.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F7Ko3IhVb1q7FwjvXqtwLQT%2F6d23cd6aca2365319af8b875fe487598%2Fthumbnail.png&project-name=Python+Hello+World&repository-name=python-hello-world&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fhello-world&from=templates&skippable-integrations=1"
---

# Python Hello World

Use Python on Vercel with Serverless Functions using the Python Runtime.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fhello-world&demo-title=Python%20Hello%20World&demo-description=Use%20Python%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fpython-hello-world.vercel.app%2F&demo-image=https://assets.vercel.com/image/upload/v1669994600/random/python.png)

# Python Hello World

This example shows how to use Python on Vercel with Serverless Functions using the [Python Runtime](https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python).

## Demo

https://python-hello-world.vercel.app/

## Running Locally

```bash
npm i -g vercel
vercel dev
```

Your Python API is now available at `http://localhost:3000/api`.

## One-Click Deploy

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fpython%2Fhello-world&demo-title=Python%20Hello%20World&demo-description=Use%20Python%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.&demo-url=https%3A%2F%2Fpython-hello-world.vercel.app%2F&demo-image=https://assets.vercel.com/image/upload/v1669994600/random/python.png)

## Related Templates

### [Alt Text Generator](https://vercel.com/templates/next.js/ai-alt-text-generator)

Generate descriptions for your images using AI.

### [Django Hello World](https://vercel.com/templates/python/django-hello-world)

Use Django on Vercel with Serverless Functions using the Python Runtime.

### [Flask Hello World](https://vercel.com/templates/python/flask-hello-world)

Use Flask 3 on Vercel with Serverless Functions using the Python Runtime.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
