[pydotorg-www] Potential error found

Tannyr tannyr at gmail.com
Sun Feb 10 07:57:22 CET 2013


*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 <http://wiki.python.org/moin/ValueError>:

   - print 'Please supply integer arguments'

}}}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pydotorg-www/attachments/20130209/d51cd8e6/attachment.html>


More information about the pydotorg-www mailing list