博客
关于我
交互式 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/

    你可能感兴趣的文章
    OpenGl介绍
    查看>>
    OPENGL半透明图像产生黑色光环
    查看>>
    OpenGL和图形卡
    查看>>
    OpenGL字体绘制
    查看>>
    OpenGL学习
    查看>>
    openGL学习步骤
    查看>>
    OpenGL的基本概念介绍
    查看>>
    OpenGL着色器、纹理开发案例
    查看>>
    OpenGL程序无法启动此应用程序,因为计算机中丢失glut32.dll(转))
    查看>>
    opengl绘制几何体的函数
    查看>>
    openGL缓存概念和缓存清除(01)
    查看>>
    OpenJDK11 下的HSDB工具使用入门
    查看>>
    openjdk踩坑
    查看>>
    openjudge 1792 迷宫 解析报告
    查看>>
    OpenJudge/Poj 1658 Eva's Problem
    查看>>
    Openlayers 9.0新功能
    查看>>
    openlayers controls基础知识
    查看>>
    Openlayers Draw的用法、属性、方法、事件介绍
    查看>>
    Openlayers Interaction基础及重点内容讲解
    查看>>
    Openlayers layer 基础及重点内容讲解
    查看>>