X Tutup
The Wayback Machine - https://web.archive.org/web/20250616091328/https://github.com/python/cpython/issues/92244
Skip to content

Adding an option to clear the python interpreter shell  #92244

Closed as not planned
@ghost

Description

Feature or enhancement

An option to clear the interactive python shell would be quite helpful in case the shell gets clunky

Pitch

Since many times we have to use the interactive shell for certain purposes for a long time it is kind of tedious to use

>import os
>os.system("clear")

everytime, even with pythonrc it will be tedious to set it everytime when switched to a different workspace , hence it would be really helpful to have this feature builtin to prevent repeating things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup