====== Cookbooks ====== * [[Python Cookbook]] * [[PylabRecipes]] * [[Pandas]] ====== IDEs ====== [[https://orf.at/stories/2450240/2450242/|PyCharm]] is our current favourite. [[http://code.google.com/p/spyderlib/|Spyder]] is a nice platform-agnostic editor. ====== Shells ====== ===== IPython ===== Nice interactive python shell. Benchmarking runtime can be done just like in bash, by prefixing a command with%time %time (numpy.array(b)==8).sum() ====== Profiling ====== A very simple and fast way to profile a single-threaded execution is: # sort profiling result by time python -m cProfile -s time my_script.py > profiling For further info see e.g. [[http://stackoverflow.com/questions/582336/how-can-you-profile-a-python-script|this Stackoverflow thread]]