In [8]:
%%bash
python
import numpy as np
A = np.round(np.random.randn(5,5)*10);
print(str(A))
np.set_string_function(None)
print(str(A))
In [18]:
%%bash
python
import inspect;
class A(object):
def __init__(self):
pass;
def method(self):
pass;
print(A.method)
print(A().method)
print(inspect.getsourcefile(A.method))
In [ ]: