# Presto Button Launch .py file

**URL:** <https://forums.pimoroni.com/t/presto-button-launch-py-file/28216>\
**Category:** Support\
**Created:** [August 20, 2025, 6:19pm UTC](https://forums.pimoroni.com/t/presto-button-launch-py-file/28216 "2025-08-20T18:19:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![azsrq13](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@azsrq13](https://forums.pimoroni.com/u/azsrq13)\
**Post date:** [August 20, 2025, 6:19pm UTC](https://forums.pimoroni.com/t/presto-button-launch-py-file/28216/1 "2025-08-20T18:19:34Z")

</div>

Not a coder, but I can create a custom button on the Presto, but what is the right code for launching another .py file that is stored on the Presto? Thank you. Just trying to make a simple dashboard to launch a few apps.

---

<div class="post-metadata">

**Author:** ![cvuorinen](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/cvuorinen/32/11801_2.png) [@cvuorinen](https://forums.pimoroni.com/u/cvuorinen)\
**Post date:** [August 23, 2025, 12:37pm UTC](https://forums.pimoroni.com/t/presto-button-launch-py-file/28216/2 "2025-08-23T12:37:08Z")

</div>

I did mine by adapting the code from the example launcher app that came with the Presto. Works by writing the app name into a text file on ramfs.

You can see the code in GitHub too:

> <https://github.com/pimoroni/presto/blob/main/examples%2Fmain.py>
