On 29 December 2010 15:20, Antoine Pitrou email@example.com wrote:
On Wed, 29 Dec 2010 16:13:15 +0100 Georg Brandl firstname.lastname@example.org wrote:
Am 29.12.2010 14:36, schrieb Michael Foord:
I often use python as a calculator or for simple operations using -c.
be enormously useful if python -c "..." would output on stdout the
result of the
last evaluated expression in the same way that the interactive
If it did, you couldn't do this anymore (with the obvious
python -c 'print 1 print 2'
which I guess a few people do rely upon.
A new -e option would be fine, but -- YAGNI?
Python-ideas mailing list Pythonemail@example.com http://mail.python.org/mailman/listinfo/python-ideas