Python Assistant

Explain or write Python code.

Paste Python for a step-by-step explanation of what it does, or describe the result you need and get a script with the packages it requires. Clear imports select the library automatically.

  • 5 library contexts
  • Risks flagged, not style notes
  • Nothing is executed
0 / 12,000

What this script does

Paste a script to see what it does, then follow it step by step below.

Does this run the code?

No. It reads Python and writes Python. Nothing is executed here, and nothing is installed on your machine. Copy the script into your own editor, read it, and run it yourself.

Which libraries does it write for?

The one you pick: the standard library with no third-party imports, pandas, polars, NumPy or PySpark. When explaining a script, a single supported library can be detected from its imports; you can override it. Standard library is the default, so a small script stays a small script.

Is what I paste private?

It is sent to the OpenAI API to produce the answer and it is not saved on this site. Unlike the Meeting Transcriber and the Background Remover, this tool does not run a model on your device, so treat it as you would any cloud service: no credentials, no personal data.