Use @profile decorator in my script
Hi experts!!
I write a script like this:
from scipy.stats import uniform
import numpy as np
print ('lalala')
LALA=[1,2,3,4,5]
for j in LALA:
algorithm (numpya arrays and other for and while cycles are invololved)
I have a RAM issue and i want to use @profile decorator. I install this for https://pypi.python.org/pypi/memory_p... doing:
$ easy_install -U memory_profiler # pip install -U memory_profiler
But when i write @profile in the start of the code and then I execute this, i get a ERROR.
How can I do for use the @profile (and others) decoretor?
Waiting for your answers.
Thanks a lot!