python的交互式shell-ipython体验
2024-10-19 17:28:31
ipython的python比较优秀的交互式shell,比python console功能更加强大更加的贴近开发及调试程序,也支持在linux下直接执行linux命令
00x-install
源码安装
https://github.com/ipython/ipython/releases
IPython versions and Python Support
IPython 7.0 requires Python version 3.5 and above.
IPython 6.x requires Python version 3.3 and above.
IPython 5.x LTS is the compatible release for Python 2.7. If you require Python 2 support, you must use IPython 5.x LTS. Please update your project configurations and requirements as necessary.
ipython-7.5.0.tar.gz //本机测试的python3.6环境下的ipython
python3 setup.py install //安装库文件到site-packages及scripts/ipython
pip安装
pip3 install ipython //注意配置下pip国内源
注意:通过yum/apt也是可以安装ipython
01x-experience
tab自动补全
ipython内置魔法函数
%lsmagic //查看所有内置魔法函数 %alias? //查看函数的帮忙文档
应用例子
最新文章
- 快速Android开发系列网络篇之Volley
- Windows下程序打包发布时的小技巧
- 19、ASP.NET MVC入门到精通——Unity
- SPOJ #4 Transform the Expression
- map使用.xml
- JS 浮点型数字运算(转)
- SPRING IN ACTION 第4版笔记-第二章Wiring Beans-005-<;constructor-arg>;和c-namespace
- 报错:ORA-02287: 此处不允许序号
- pwd的实现
- ASP.NET Web API框架揭秘:路由系统的几个核心类型
- swift label不同颜色、不同字体
- DotNetCore跨平台~linux上还原自主nuget包需要注意的问题
- 输入一个A和B,,A<;=B,A>;=1,B<;=pow(10,18)计算F=B!/A!结果的最后一位
- JS 特殊字符的验证的问题
- JMeter接口测试 (二) ~ 参数化
- Java Lambda 表达式 对 Map 对象排序
- xml和tomcat介绍
- iOS下JS与OC互相调用(八)--Cordova简单实战
- OpenWrt的开机启动服务(init scripts)
- TextView上下滑动
热门文章
- Could not find com.android.tools.build:gradle:3.3.0.
- Python 使用 win32com 模块对 word 文件进行操作
- 【python基础】setproctitle的安装与使用
- 升级go mod采坑录
- Dubbo2.7.3入门
- IDEA配置类签名
- CentOS7-Docker 安装 Gitlab
- [转帖](区块链补习班)ERC20很多人都听过,但ERC是什么你真的了解吗?
- nginx+upsync+consul 构建动态nginx配置系统
- 洛谷--P1028 数的计算(递推)