Command-Line Usage

When called as a program from the command line, the following form is used:

python -m diofant

Python shell for Diofant.

This is just a normal Python shell (IPython shell if you have the IPython package installed), that adds default imports and run some initialization code.

usage: python -m diofant [-h] [--no-wrap-division] [-a] [--no-ipython]
                         [--unicode-identifiers] [--wrap-floats] [-V]
-h, --help

show this help message and exit

--no-wrap-division

Don’t wrap integer divisions with Fraction

-a, --auto-symbols

Automatically create missing Symbol’s

--no-ipython

Don’t use IPython

--unicode-identifiers

Allow any unicode identifiers

--wrap-floats

Wrap float literals with Float

-V, --version

Print the Diofant version and exit