So messen Sie, wie viel Ihre von CPU Ihr Programm in Python verwendet
$ pip install memory_profiler
Mushy Moose
$ pip install memory_profiler
$ pip install line_profiler