bipython:大胆的不加选择的python解释器
bipython的Python项目详细描述
大胆不加选择的python解释器
“…因为你不必选择。”
序言
Two interpreters, both alike in dignity,In fair Pythona, where we lay our scene,From ancient grudge break to new mutiny,Where civil code makes git commits unclean.From forth the fatal loins of these two foesA newer kind of strager’s given life;Whose misadventured piteous overthrowsDoth with its birth bury its parents’ strife.
第一幕
输入“bpython”和“ipython”`
I’m a fancy terminal-based interface to the Python interpreter. I give youinline syntax highlighting and auto-completion prompts as you type, and I’lleven automatically show you a little tooltip with a docstring and parameterlist as soon as you hit ^{tt1}$ to make the function call, so you always knowwhat you’re doing! I’m svelte and proud of it - I don’t try to do all of theshenanigans that ^{tt2}$ does with the shell and the web, but the cool kidslove my rewind feature for demos. I strive to make interactive python codinga joy!
I’m an awesome suite of interactive computing ideas that work together.For millenia, I’ve given you tab-completion and object introspection via^{tt3}$ instead of ^{tt4}$ in Python. I also have sweet shell features,special magic commands (^{tt5}$, ^{tt6}$, ^{tt7}$, etc.) and ahistory mechanism for both input (command history) and output (resultscaching).More recently, I’ve decoupled the REPL into clients and kernels, allowingthem to run on independent of each other. One popular client is theIPython Notebook which allows you to write code and prose using a webbrowser, sending code to the kernel for execution and getting rich mediaresults back inline. The decoupling of clients and kernels also allowsmultiple clients to interact with the same kernel, so you can hook-up tothat same running kernel from the terminal. The terminal workflow makesmore sense for some things, but my user interface there isn’t as polishedas ^{tt8}$’s.
输入“bipython”`
By your powers combined… I am ``bipython``!
exunt
力量是你的!
pip install bipython easy_install bipython
bipython需要ipython、pyzmq、bpython和urwid。
现在,在运行ipython内核之前,您需要有一个正在运行的ipython内核 bipython。你可以通过打开笔记本或运行 ipython console。不会总是这样的,我会尽快修好的 尽我所能,但会更快。
之后,只需运行bipython并享受旅程。
版权所有(C)2014,Paul Ivanov