Starting ipython for interactive sympy

$ ipython –pylab
Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
Type “copyright”, “credits” or “license” for more information.

IPython 2.3.0 — An enhanced Interactive Python.
? -> Introduction and overview of IPython’s features.
%quickref -> Quick reference.
help -> Python’s own help system.
object? -> Details about ‘object’, use ‘object??’ for extra details.
Using matplotlib backend: TkAgg

In [1]: from symp
sympy sympyprinting

In [1]: from sympy import *

In [2]: ini
init_printing init_session

In [2]: init_session()
IPython console for SymPy 0.7.5 (Python 2.7.10-64-bit) (ground types: python)

These commands were executed:
>>> from __future__ import division
>>> from sympy import *
>>> x, y, z, t = symbols(‘x y z t’)
>>> k, m, n = symbols(‘k m n’, integer=True)
>>> f, g, h = symbols(‘f g h’, cls=Function)

Documentation can be found at http://www.sympy.org
WARNING: Hook shutdown_hook is deprecated. Use the atexit module instead.

In [3]: %run example-1.4.2.1.py
Fontconfig error: “local.conf”, line 35: invalid attribute ‘name’
Fontconfig error: “local.conf”, line 43: invalid attribute ‘name’
Fontconfig error: “local.conf”, line 51: invalid attribute ‘name’

About janpenguin

Email: janpenguin [at] riseup [dot] net Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in GNU/Linux, Python and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s