← 返回命令列表

Linux command

ipython3 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Start IPython shell

ipython3

Run script in IPython

ipython3 [script.py]

Start with specific profile

ipython3 --profile=[myprofile]

Run in no-banner mode

ipython3 --no-banner

Start Qt console

ipython3 qtconsole

Start notebook server

jupyter notebook

说明

IPython is an enhanced interactive Python shell. It provides syntax highlighting, tab completion, magic commands, shell integration, and rich media display. IPython extends Python's REPL with features like history across sessions, object introspection, and system shell access. It's the kernel behind Jupyter notebooks.

参数

--profile _name_
Use specific profile.
--no-banner
Don't show startup banner.
-i
Run in interactive mode after script.
-c _command_
Execute command.
--pdb
Enable automatic debugger on exceptions.
--matplotlib _backend_
Configure matplotlib backend.
qtconsole
Start Qt GUI console.
notebook
Start Jupyter notebook (deprecated, use jupyter).

FAQ

What is the ipython3 command used for?

IPython is an enhanced interactive Python shell. It provides syntax highlighting, tab completion, magic commands, shell integration, and rich media display. IPython extends Python's REPL with features like history across sessions, object introspection, and system shell access. It's the kernel behind Jupyter notebooks.

How do I run a basic ipython3 example?

Run `ipython3` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --profile _name_ do in ipython3?

Use specific profile.