Skip to the content.

PI Shell - Python based command line

CAUTION:This readme is translated from Chinese by Google Translate.Report grammar mistakes in Issues#documentation.

Read this document in other languages: 简体中文 English

Latest version: v0.3.2

C:/pythondemo/pish π echo "hello,pi shell!"

run Pi-shell

python src/main.py

or

.\pish

syntax

1.echo

output command. Strings are supported.

echo 'hello'

2.cd

switch directory

  1. $ operator Execute the default shell of the system, such as cmd on Windows and $SHELL on Linux.
    $ python pish.py
    

    4. runpy

    Run Python code

    runpy import sys
    

    5. exit

    quit.