So you’ve come up with a couple of ways to solve a problem in code. But how do you decide which way is the best? One criterion to decide on is to use the one that makes the most sense to you. Another criterion is to use the version that is fastest. Here’s how to quickly determine which way is fastest using the interactive interpreter IPython. Continue reading ‘Test the speed of your code interactively in IPython’
Recent Posts
- Minimal Sphinx setup for autodocumenting Python modules
- Archives
- Write Excel files with Python using xlwt
- Python script to package Latex projects for distribution
- RPy: statistics in R from Python
- Polar bar plot in Python
- Record screencasts, convert to Flash, and embed on your site
- Interactive subplots: make all x-axes move together
- Calculate sunrise and sunset with PyEphem
- Use Sphinx for documentation
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Apr | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||