print("hello world")
hello world
%%memit
print("Hello")
Hello
Hello
Hello
Hello
Hello
Hello
Hello
peak memory: 41.95 MiB, increment: 0.16 MiB
!pip install memory_profiler
%load_ext memory_profiler
Requirement already satisfied: memory_profiler in /srv/paws/lib/python3.4/site-packages