This is a small python program that computes digits of Pi indefintely. The statistics about the performance are displayed at the top.
The algorithm is an implementation of Jeremy Gibbons spigot algorithm, specifically the one based on Gosper's series, which he explained in this paper. I used this implementation for my program.
python pi.py