This obviously is not in the spirit of what you're saying, but...<p>Python main() functions by Guido van Rossum<p><a href="http://www.artima.com/weblogs/viewpost.jsp?thread=4829" rel="nofollow">http://www.artima.com/weblogs/viewpost.jsp?thread=4829</a>