← Back to PyTwiddle

Welcome to PyTwiddle documentation! At its core, PyTwiddle is designed to make it easy for coders to create mini Python web apps for non-coders. To get started, here is the PyTwiddle editor, with all of its functions annotated.

Screenshot 2024-07-12 at 11.36.30 PM.png

That’s enough of an introduction though. See the table of contents below to explore the different features in PyTwiddle.

Table of Contents

How to share mini web apps

Click on the URL in the bottom right -- to the right of the "Preview" button -- to access the "mini web app" version of your script.

tzUoWR0.png

Now we have a mini web app!

owICf6o.png

Once you fill out the form, you can hit the "Submit" button. The form's contents are then passed onto your script, and your script executes. The output of your script is then shown in the UI.

Here's an example of me using the app. This app can encode or decode secret messages. Someone has sent me the secret message "uryyb", which I type into the form. Once I hit submit, your code runs, and decodes the secret message to display below: "hello".

2iSPU73.gif

Ta-da! We can now share this with friends and family that don't know how to code. Alternatively, you can bookmark this simple, nifty web app for yourself to use in the future.

You can try the secret message web app yourself right here →.