CodeFlip Open CodeFlip

Moving from Python Tutor

Your Python Tutor links and embeds work on CodeFlip as they are. Change the domain and they open on the same program, at the same step.

1. Change the domain

Replace pythontutor.com with codeflip.dev and keep everything after it:

https://pythontutor.com/iframe-embed.html#code=…&py=3&curInstr=4
https://codeflip.dev/iframe-embed.html#code=…&py=3&curInstr=4

That works for:

CodeFlip reads Python Tutor's settings: the code, the language (py=3, py=c_gcc9.3.0, …), input (rawInputLstJSON) and cumulative. curInstr counts Python Tutor's steps; CodeFlip translates it, so the link still opens on the moment you chose.

2. Or convert it here

Paste a Python Tutor link or iframe code. You get the CodeFlip version, short by default.

3. What's different

For new visualizations, open CodeFlip, write or paste your program, and press Share: it gives you a link, an iframe, and a self-sizing web component.