In [5]:
from datetime import datetime, date
date.today()


Out[5]:
datetime.date(2016, 12, 5)

Test


In [6]:
date.today()


Out[6]:
datetime.date(2016, 12, 5)

In [4]:
class Test():
    def __init__(self, name=None):
        print(name + " that is!!")
    pass

In [5]:
Test("hello")


hello that is!!
Out[5]:
<__main__.Test instance at 0x7fc8b8448cb0>

In [3]:
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 3*np.pi, 500)
plt.plot(x, np.sin(x**2))
plt.title('A simple chirp');