Pysh – Python shell and REPL in one
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Pysh is a single executable that combines a Python REPL with a Unix-style shell: each line runs as Python if it parses as Python and as a shell command otherwise. It embeds the system's installed CPython, so imports resolve to the same modules as your python.