Contents
Links
Class documentation
Full name: ase2sprkkr.gui.shell.format_as_python_shell
Format Python code as it would appear in a Python shell. Prepend >>> to new statements and … to continuation lines.
Handles multi-line blocks like classes, functions, loops, and conditionals.
code_str (str)
str