IPython 的使用
来源:互联网 发布:使命召唤14数据不兼容 编辑:程序博客网 时间:2024/05/29 18:35
- hist -n:显示历史命令
0. %alias
查看当前系统下,ipython 会话状态下可用的系统命令:
如对于 windows 用户而言,
[('copy', 'copy'), ('ddir', 'dir /ad /on'), ('echo', 'echo'), ('ldir', 'dir /ad /on'), ('ls', 'dir /on'), ('mkdir', 'mkdir'), ('ren', 'ren'), ('rmdir', 'rmdir')]
1. 查看变量信息
变量名?
In [5]: a = [1, 2]In [6]: a?Type: listString form: [1, 2]Length: 2Docstring:list() -> new empty listlist(iterable) -> new list initialized from iterable's items
2. 魔法命令
%paste,%cpaste
步骤如下,将待粘贴的内容复制到 clipboard,在命令行界面,
- 输入 %paste:将粘贴板中的内容全部复制到 ipython 命令行;
- 输入 %cpaste:逐行拷贝(不是粘贴板上的内容):
3. !type/!cat 查看文件内容
Linux 用户使用 !cat,windows 用户则是 !type;
0 0
- IPython的使用
- IPython Notebok的使用
- IPython 的使用
- IPython Notebook的使用
- IPython NoteBook 的使用
- 【python】IPython Notebok的使用
- IPython使用
- ipython无法使用nbtstat的问题
- IPython notebook(Jupyter Notebook) 的使用
- iPython的安装与简单使用
- Ipython在Ubuntu下的使用--1
- linux/ubuntu下IPython、IPython Notebook(jupyter)的安装和基本使用
- IPython与IPython Notebook安装及使用
- virtualenv 下使用ipython
- IPython使用技巧
- IPython基础使用_Round2
- pyspark 使用 Ipython
- ipython notebook使用
- ROC曲线与AUC
- exchange 2010 无人值守安装
- 免费学桌面工程师、系统工程师、系统运维工程师
- 软件静默安装命令大全
- 部署Exchange 2013
- IPython 的使用
- Lync Server 2013 Prerequisite installation failed
- Leetcode-remove-duplicates-from-sorted-array
- Apache Zeppelin安装及介绍
- Lync 2013 Unauthorized: Access is denied due to a RBAC authorization Failure
- oracle中的exists 和not exists 用法详解
- AD默认和扩展属性 Get-ADUser Default and Extended Properties
- 设计模式GOF23——代理模式
- win 7 电脑快捷键总结整理