En Thu, 26 Mar 2009 11:42:57 -0300, Philipp Lies
escribió:
I'm trying to run the python profiler on some code but I always get
NameErrors, even for the simplest case taken from the docs:
import profile
def foo():
a = 5
def prof():
profile.run('foo()')
When I run prof() I get the foll
Hi,
I'm trying to run the python profiler on some code but I always get
NameErrors, even for the simplest case taken from the docs:
import profile
def foo():
a = 5
def prof():
profile.run('foo()')
When I run prof() I get the following output:
Traceback (most recent call last):
File "",