- 浏览: 278887 次
文章分类
- 全部博客 (276)
- burp+hydra暴力破解 (1)
- kali linux工具集 (6)
- kali (59)
- linux (54)
- password (14)
- web (63)
- 渗透测试 (50)
- windows (40)
- metasploit (9)
- 信息收集 (32)
- burp suit (4)
- 安全审计 (9)
- https://github.com/secretsquirrel/the-backdoor-factory (0)
- nmap (4)
- arachni (2)
- 工具 (5)
- sql (3)
- 网络 (2)
- 后渗透测试 (10)
- 内网 (5)
- 无线 (2)
- C (3)
- bios (1)
- RoR (12)
- mongodb (1)
- linxu (1)
- gdb (1)
- linux,虚拟化 (1)
- python (4)
最新评论
Introspection
Using a question mark ( ? ) before or after a variable will display some general information about the object
Magic Command
Matplotlib Integration and Pylab Mode
Searching and Reusing the Command History
<Ctrl-P> <up arrow>
<Ctrl-N> <down arrow>
<Ctrl-R>
Input and Output Variables
Input variables are stored in variables named like _iX , where X is the input line number. For each such input variables there is a corresponding output variable _X . So after input line 27, say, there will be two new variables _27 (for the output) and _i27 for the input.
Logging the Input and Output
Tips
引用
Using a question mark ( ? ) before or after a variable will display some general information about the object
引用
Using ?? will also show the function’s source code if possible:
引用
? has a final usage, which is for searching the IPython namespace in a manner similar to the standard UNIX or Windows command line. A number of characters combined with the wildcard ( * ) will show all names matching the wildcard expression.
Magic Command
%quickref | Display the IPython Quick Reference Card |
%magic | Display detailed documentation for all of the available magic commands |
%debug | Enter the interactive debugger at the bottom of the last exception traceback |
%hist | Print command input (and optionally output) history |
%pdb | Automatically enter debugger after any exception |
%paste | Execute pre-formatted Python code from clipboard |
%cpaste | Open a special prompt for manually pasting Python code to be executed |
%reset | Delete all variables / names defined in interactive namespace |
%page | OBJECT Pretty print the object and display it through a pager |
%run | script.py Run a Python script inside IPython |
%prun | statement Execute statement with cProfile and report the profiler output |
%time | statement Report the execution time of single statement |
%timeit | statement Run a statement multiple times to compute an emsemble average execution time. Useful for timing code with very short execution time |
%who, %who_ls, %whos | Display variables defined in interactive namespace, with varying levels of information / verbosity |
%xdel | variable Delete a variable and attempt to clear any references to the object in the IPython internals |
Matplotlib Integration and Pylab Mode
引用
ipython --pylab
Searching and Reusing the Command History
<Ctrl-P> <up arrow>
<Ctrl-N> <down arrow>
<Ctrl-R>
Input and Output Variables
引用
IPython stores references to both the input (the text that you type) and output (the object that is returned) in special variables. The previous two outputs are stored in the _ (one underscore) and __ (two underscores) variables, respectively
引用
Input variables are stored in variables named like _iX , where X is the input line number. For each such input variables there is a corresponding output variable _X . So after input line 27, say, there will be two new variables _27 (for the output) and _i27 for the input.
Logging the Input and Output
引用
IPython is capable of logging the entire console session including input and output.Logging is turned on by typing %logstart, %logoff, %logon, %logstate, and %logstop .
Tips
引用
import some_lib
reload(some_lib)
reload(some_lib)
发表评论
-
使用GCC/GNU-ld删除dead code
2016-05-09 17:18 616[url] https://gcc.gnu.org/ml/gc ... -
python 修饰器
2016-02-05 15:11 380def wrapper1(function): ... -
ubuntu 14.04 install e431 wifi driver
2016-01-25 20:59 418引用 sudo apt-get install linu ... -
git
2016-01-07 12:01 412http://finalshares.cn/attachmen ... -
嵌入式中使用gdb
2016-01-06 17:38 3637编译 For gdb: /path/to/gdb-sr ... -
linux change boot image
2016-01-02 00:55 5081. change grub2 引用vim /etc/defa ... -
binwalk --dd
2015-12-28 21:51 1361http://www.devttys0.com/2012/12 ... -
embeded LD_PRELOAD
2015-12-28 00:17 514引用 eve@eve:~/squashfs-root$ sud ... -
hardware hacking
2015-12-27 01:32 660For video stuff: https://www.yo ... -
ubuntu support kindle
2015-12-20 23:13 335引用apt-get install mtpfs -
linux 备份系统
2015-12-05 22:22 390引用备份 dd if=/dev/sda > myimag ... -
[译]root权限运行vlc
2015-11-30 22:19 1266原文地址:http://www.blackmoreops.co ... -
【转】关闭TCP Timestamps来节省一点带宽
2015-10-15 23:29 1585http://highscalability.com/blog ... -
[转]Terminal escape sequences – the new XSS for Linux sysadmins
2015-09-25 23:58 404https://ma.ttias.be/terminal-es ... -
static in C
2015-09-22 11:35 284jason@ubuntu:~/test$ cat a.c ... -
lxc重命名容器名
2015-09-20 00:25 773lxc-ls 使用文件夹名作为容器名。所以可以更改文件夹名称来 ... -
lxc更新apt源
2015-09-18 11:49 721最近一直在使用lxc创建容器,每次创建一个容器都需要把apt源 ... -
python decorators
2015-09-16 14:12 266http://simeonfranklin.com/blog/ ... -
wireshark:Couldn't run /usr/bin/dumpcap in child process: Permission denied
2015-09-11 10:26 3232When start wireshark, I met an ... -
爬虫crawler
2015-09-09 12:18 354抓取标签一些tips:引用 1. 查找“打印本页”的link, ...
相关推荐
It provides a basic introduction to the pandas framework, and takes users through the installation of the library and the IPython interactive environment. Thereafter, you will learn basic as well as ...
ipython-papershape 基于 paper.js 的形状绘制小部件 安装 pip install . 或用于开发安装 pip install -e . 如果您在使用 pip 时遇到问题,请尝试 python setup.py install 用法 参见examples/basic.ipynb
File "<ipython-input-1-bd597743fb90>", line 1, in import lightgbm File "D:\Anaconda3\lib\site-packages\lightgbm\__init__.py", line 8, in from .basic import Booster, Dataset ...... OSError: ...
2.3 Basic optional dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.4 Dependencies for IPython.kernel (parallel computing) . . . . . . . . . . . . . . . . . . . . 8...
•Learn basic and advanced features in NumPy (Numerical Python) •Get started with data analysis tools in the pandas library •Use flexible tools to load, clean, transform, merge, and reshape data •...
Learn basic and advanced features in NumPy (Numerical Python) Get started with data analysis tools in the pandas library Use flexible tools to load, clean, transform, merge, and reshape data ...
它包含视频,电子书,MCQ,iPython笔记本文档和交互式编码练习的组合,以增强您的学习体验。 我在这门课程中学到什么期权交易基础编写并分析看跌期权和看涨期权的收益了解波动率在期权交易中如何起重要作用,以及...
program, and other basic tasks. Instead, it is meant to help Python users learn to use Python’s data science stack—libraries such as IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and related ...
program, and other basic tasks. Instead, it is meant to help Python users learn to use Python’s data science stack—libraries such as IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and related ...
用法指令breadplan.py basic生成Basic Country Bread的食谱breadplan.py baguette生成breadplan.py baguette的食谱breadplan.py rye生成黑麦面包的食谱breadplan.py wholewheat生成全麦面包的食谱请注意,目前仅实施...
Intro to Data Science sections: AI, basic stats, simulation, animation, random variables, data wrangling, regression AI, big data and cloud data science case studies: NLP, data mining Twitter, IBM ...
It’s ideal for analysts new to Python and for Python programmers new to scientific computing., Use the IPython interactive shell as your primary development environment, Learn basic and advanced ...
It’s ideal for analysts new to Python and for Python programmers new to scientific computing., Use the IPython interactive shell as your primary development environment, Learn basic and advanced ...
It’s ideal for analysts new to Python and for Python programmers new to scientific computing., Use the IPython interactive shell as your primary development environment, Learn basic and advanced ...
IPython is a powerful interactive shell that features easy editing and recording of a work session, and supports visualizations and parallel computing. The Software Carpentry Course teaches basic ...
This book teaches you to design and develop data mining applications using a variety of datasets, starting with basic classification and affinity analysis. Next, we move on to more complex data types ...
This book teaches you to design and develop data mining applications using a variety of datasets, starting with basic classification and affinity analysis. Next, we move on to more complex data types ...
撬 ... 校友: 康拉德·欧文 瑞安·菲茨杰拉德(Ryan Fitzgerald) ...受IPython,Smalltalk和其他高级REPL启发的许多便捷命令 大量的可提供远程会话,完整的调试功能等。 安装 邦德勒 gem 'pry' , '~>
If you are a mathematician, engineer, or computer scientist with a proficiency in Python and familiarity with IPython, this is the book for you. Some basic knowledge of numerical methods in scientific...