In [1]:
# == Basic import == #
# plot within the notebook
%matplotlib inline
# No annoyingwarnings
import warnings
warnings.filterwarnings('ignore')
In [10]:
# The directory containing the file lib_pythontip3.py
# must be the current one or in your python pathP
import lib_pythontip3 as mylib
# for python 3 use
# from imp import reload
reload(mylib)
Out[10]:
In [ ]:
In [11]:
myobj = mylib.MyFirstClass("data/us_marriages_divorces.csv")
In [12]:
myobj.CLASSNAME
Out[12]:
In [13]:
myobj.print_me_divorce_stat()
In [15]:
myobj2 = mylib.MySecondClass()
In [16]:
myobj2.print_it("bye ")
In [ ]: