Host a Python file and share it as a link
Put a .py script at a public address that opens as readable text — and that curl can fetch straight into a terminal.
Drop your Python file here
Any other file works too — up to 25.0 MB, or 100.0 MB for a whole site
Free to use. Your PY file is live at your-name.99helpers.site in about ten seconds.
What is a .py file?
A .py file is plain-text Python source. Because Python is interpreted, the file is the program — there's nothing to compile, which is why scripts get passed around as files far more than most languages' code does.
What people use PY files for
- Utility scripts shared with a colleague
- Code examples in documentation or a tutorial
- Data analysis scripts sent with their results
- Automation someone else needs to run
What opens a PY file
- Any browser, which displays it as text
- Python itself, on every platform
- VS Code, PyCharm and every editor
- Jupyter, for interactive work
How to host a PY file
- 1
Drop your PY file in
Drag it onto the box at the top of this page, or click to choose it. Files up to 25 MB are supported, and nothing is uploaded until you publish.
- 2
Pick an address
Type a name and we'll tell you straight away whether it's free. That becomes the link: script.99helpers.site
- 3
Publish and share
Create a free account — that step exists so the file is yours to update, replace or delete — and the link is live within seconds.
The same three steps work for any file — see how file hosting works on 99helpers.com.
What happens when someone opens the link
The source displays as text in the browser, so anyone can read it before running it — which is what people should do with any script from a URL.
Why host a PY file instead of emailing it?
Pasting a script into chat mangles the indentation, which in Python changes the meaning of the code. A hosted file preserves it exactly, and gives you a URL that curl can fetch.
Worth knowing before you publish
- Never include API keys or credentials — the file is public and indexed.
- Note the Python version and any dependencies in a comment at the top; whoever runs it will need them.
- For a script with several modules, upload the folder instead and it publishes as a set of files.
PY hosting questions
- Will the code display or download?
- It displays as text, so people can read it in the browser before deciding to run it.
- Can I curl the script and run it?
- Technically yes, and the raw file is served at the address. Reading a script before piping it into an interpreter remains a good habit, whoever it came from.
- Is indentation preserved?
- Exactly — the file is served byte for byte. That's the main reason hosting beats pasting Python into a chat window.
Put your PY file online now
It takes about ten seconds, and you only make an account once the file is ready to go live.
Hosting guides for related formats
PY is one of over 211 formats you can host — see free file hosting for any file type for the full list, or read the hosting guides for other file types.