博客
关于我
交互式 shell 玩转 Python
阅读量:54 次
发布时间:2019-02-25

本文共 982 字,大约阅读时间需要 3 分钟。

Python Shell ??? Ubuntu ??????

? Ubuntu ????Python ???????? shell ??????????????????????????????????????????????????????

IPython?????? Python Shell

IPython ?????? Python Shell ???????????? Ubuntu ????????????

python3 -m ipython

IPython ???????

  • ???????????????????????
  • ??????? `?` ???????`??` ??????
  • ????????? `!` ???? shell ???????????????
  • ????????? `Ctrl + r` ???????????

?? IPython

? Ubuntu ????? IPython ??????

sudo apt-get install python3 ipython3

bpython??????????????

bpython ????????? Python Shell ???????????????????????

  • ????????????????????
  • ?????????????????
  • ??????????????????????
  • ????????? `Ctrl + D` ?????????? Pastebin

?? bpython ??????

sudo apt-get install bpython

??????

?????????bpython ??????????????

  • ???????????????? ? ????
  • ????????????????? ! ????
  • ?? Ctrl + r ???????????
  • ??

    ????? Python Shell ??????????????????????????????????? IPython ? bpython?????? python ??????????????????????????IPython ? bpython ???????

    ?????????????????????????????????????????????????~

    转载地址:http://daa.baihongyu.com/

    你可能感兴趣的文章
    oobbs开发手记
    查看>>
    OOM怎么办,教你生成dump文件以及查看(IT枫斗者)
    查看>>
    OOP
    查看>>
    OOP之单例模式
    查看>>
    OOP向AOP思想的延伸
    查看>>
    OO第一次blog
    查看>>
    OO第四单元总结
    查看>>
    OO第四次博客作业
    查看>>
    OO面向对象编程:第三单元总结
    查看>>
    Opacity多浏览器透明度兼容处理
    查看>>
    OPC在工控上位机中的应用
    查看>>
    VSCode在终端中使用yarn命令
    查看>>
    OPEN CASCADE Curve Continuity
    查看>>
    Open Graph Protocol(开放内容协议)
    查看>>
    Open vSwitch实验常用命令
    查看>>
    Open WebUI 忘了登入密码怎么办?
    查看>>
    open***负载均衡高可用多种方案实战讲解02(老男孩主讲)
    查看>>
    Open-E DSS V7 应用系列之五 构建软件NAS
    查看>>
    Open-Sora代码详细解读(1):解读DiT结构
    查看>>
    Open-Sora代码详细解读(2):时空3D VAE
    查看>>