Almar Klein almar.klein at gmail.com writes:
A year ago or so I designed a simple file format that could do that and is
also
human readable (binary data is compressed and then base64 encoded). I use it
extensively to store experiment data for my research and also for
configuration
files
(pytyhon 2.x code):
print input('Enter expression: ')
Example uses:
Enter expression: 3+4
7
Enter expression: 1+2+3+4+5
15
Enter expression: 7*18
126
Enter expression: 2**19-1
524287
--
http://mail.python.org/mailman/listinfo/python-list
http://research.microsoft.com/en-us/news/features/nagappan-100609.aspx
Thanks for the link! Hope he next takes on verifying that less code
implies less bugs when
other factors are constant, thus proving that Python is better than C
and Java :-).
Mark
--
ham.spam
$ python spammain.py
I've found it easier to not fight the module/package system but work
with it. But yes, I also think the problem you're seeing is a wart or
bug even.
Best regards
Mark Leander
--
http://mail.python.org/mailman/listinfo/python-list