Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

Python file

Open and edit PY files

You can open, view and edit PY files for free right here in your browser, without VS Code and without uploading anything. Source code in Python, the language Guido van Rossum first released in 1991. Its readable syntax uses indentation to mark blocks of code.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View a PY file without VS Code

Open and viewYes
EditYes
Create a new oneYes, with New file (blank or from a template)
Save as PYYes, keeping what Anyfile doesn’t show
FormatBy Guido van Rossum, since 1991

Edit PY files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.py

Python file

Source code in Python, the language Guido van Rossum first released in 1991. Its readable syntax uses indentation to mark blocks of code.

Scripts, automation, data analysis, machine learning and web back ends.

Opens in VS Code, PyCharm, IDLE, any text editor

Questions

How do I open a PY file without VS Code?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit a PY file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my PY file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.