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

    你可能感兴趣的文章
    mysql性能优化
    查看>>
    mysql性能优化学习笔记-存储引擎
    查看>>
    MySQL性能优化必备25条
    查看>>
    Mysql性能优化(1):SQL的执行过程
    查看>>
    Mysql性能优化(2):数据库索引
    查看>>
    Mysql性能优化(3):分析执行计划
    查看>>
    Mysql性能优化(4):优化的注意事项
    查看>>
    Mysql性能优化(5):主从同步原理与实现
    查看>>
    Mysql性能优化(6):读写分离
    查看>>
    MySQL性能优化(八)--
    查看>>
    MySQL性能测试及调优中的死锁处理方法
    查看>>
    mysql性能测试工具选择 mysql软件测试
    查看>>
    mysql恢复root密码
    查看>>
    Mysql悲观锁
    查看>>
    MySQL慢查询-开启慢查询
    查看>>
    MySQL慢查询分析和性能优化的方法和技巧
    查看>>
    MySQL慢查询日志总结
    查看>>
    Mysql慢查询日志,查询截取分析
    查看>>
    MySQL慢查询问题排查
    查看>>
    mysql截取sql语句
    查看>>