Skip to content

Instantly share code, notes, and snippets.

@kzar
kzar / workaround.py
Created August 11, 2015 09:55
line_profiler Python "NameError: name 'profile' is not defined" workaround
import line_profiler
profile = line_profiler.LineProfiler()