Skip to content

Way to revertback from session behavior when executing python code? #74

@zhongnanxu

Description

@zhongnanxu

Compared to the jmax, I've noticed python automatically executes in a session mode. I understand this allows for multiple python code in a document to interact with each other as well as error being printed out.

Is there a way to easily switch back to the old behavior where each python code-block executed in isolation? I find this useful for debugging packages you import (since running the code again doesn't import a new version if it has been changed), as well for prettier printing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions