On 10 Feb 2013, at 06:57, Tannyr <tan...@gmail.com> wrote:

> Source:  http://wiki.python.org/moin/SimplePrograms
> 
> Description:  The '8 line' example program is not displaying properly.  
> Missing surrounding 'code box'.
> 
> 
> Current View:
> {{{#!/usr/bin/env python # This program adds up integers in the command line 
> import sys try:
> 
>       • total = sum(int(arg) for arg in sys.argv[1:]) print 'sum =', total
> except ValueError:
> 
>       • print 'Please supply integer arguments'
> }}}
> 

I've "fixed" it - however the wiki still seems to strip the "#!/usr/bin/env 
python" line.

Michael

> 
> 
> _______________________________________________
> pydotorg-www mailing list
> pydotorg-www@python.org
> http://mail.python.org/mailman/listinfo/pydotorg-www


--
http://www.voidspace.org.uk/


May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing 
http://www.sqlite.org/different.html





_______________________________________________
pydotorg-www mailing list
pydotorg-www@python.org
http://mail.python.org/mailman/listinfo/pydotorg-www

Reply via email to