*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'
}}}
_______________________________________________
pydotorg-www mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pydotorg-www