Re: [Tutor] zip and rar files
Dinesh B Vadhia schrieb: Hi Dinesh, Does the Python zipfile module work on rar archives? If not, does a similar module exist for rar archives? I don't think so, but pypi is your friend: http://pypi.python.org/pypi?%3Aaction=search&term=rar&submit=search HTH, A. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Error-handling for a large modular program
Yes I am aware of the various Python parser packages. But at the current moment the language is changing so I'm just writing a parser as I go along. It probably isn't very good as it combines syntactical analysis with some calculations as it goes along (which isn't really good practice). Once the language design is finalized, I might look into using a proper parser and performing the calculations separately. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
[Tutor] zip and rar files
Does the Python zipfile module work on rar archives? If not, does a similar module exist for rar archives? Dinesh ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] how to read a program
"Anthony Parks" <[EMAIL PROTECTED]> wrote "what are particularly great programs to *read*. not like great software, but great source code. somewhat like treating source code as a literature, what are the classics? I don't know anything specific in Python but one of the greatest pieces of programming code ever is Donald Knuth's TeX program, upon which LaTeX is built. For a long time (maybe still) Knuth offered cash rewards for anyone who could find a bug in TeX... a few were found but not many. There is a good write up on TeX on wikipedia explaining many of the important new concepts it introduced, most important in this context being the idea ogf literate programming - programs specifically designed to be easy to read... HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor