<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">This is not exactly what you asked for. However:</div><div class="">WingIDE does this and uses a piece of open-source code to do it completely in python.</div><div class="">A copy can be found here:</div><div class=""><a href="http://www.voidspace.org.uk/downloads/generate_pi.py" class="">http://www.voidspace.org.uk/downloads/generate_pi.py</a></div><div class="">More up-to-date versions can be found within WingIDE installs themselves.</div><div class="">This piece of code is open source and therefore available to you to use.</div><div class="">It’s not a .net library. It’s pure python. It should be easily hacked-up and used by you to the same effect. It already exists and is in wide use.</div><div class=""><br class=""></div><div class="">-brad</div></body></html>