Skip to content

SweatStack.run

SweatStack.run is a Python sandbox in your browser, for quick prototyping and for sharing code snippets.

SweatStack.run is based on pydantic.run.

SweatStack.run

Features

  • No installation. Open it in your browser.
  • Signed in. Connected to your SweatStack account from the start.
  • Shareable. Share your code snippets with others.

Get started

  1. Open sweatstack.run.
  2. Start coding.

Prefill code

SweatStack.run accepts an optional prefill query parameter: URL-encoded code that appears in the editor when the page loads.

Say you want to prefill this code:

for i in range(10):
    print(i)

URL-encoded, the code is:

for%20i%20in%20range%2810%29%3A%0A%20%20%20%20print%28i%29

So the full URL is:

https://sweatstack.run/?prefill=for%20i%20in%20range%2810%29%3A%0A%20%20%20%20print%28i%29

URL-encode Python code

urlencoder.org URL-encodes a block of Python code for you.