Read this document in other languages: 简体中文 | English
- 改善了$操作符
- 使用断言
-0
,据说可以提速
C:/pythondemo/pish π echo "hello,pi shell!"
python src/main.py
在powershell:
.\pish
输出指令。支持字符串。
echo 'hello'
切换目录
执行系统默认shell,如在Windows端为cmd,Linux端为$SHELL。
$ python pish.py
运行Python代码
runpy import sys
退出。