Your code has many error when i run with python3, please help me check this :(
Kakalot:eyeshadow kakalot$ python3 eyeshadow.py
Traceback (most recent call last):
File "eyeshadow.py", line 115, in
ext(u_l0,l_l0+1,i)
File "eyeshadow.py", line 31, in ext
y.extend((ones(b-a)*i).tolist())
File "/usr/local/lib/python3.6/site-packages/numpy/core/numeric.py", line 192, in ones
a = empty(shape, dtype, order)
TypeError: 'numpy.float64' object cannot be interpreted as an integer