Re: [Tutor] how to read a program

2008-06-07 Thread Alan Gauld
"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 pro

[Tutor] zip and rar files

2008-06-07 Thread Dinesh B Vadhia
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] Error-handling for a large modular program

2008-06-07 Thread Shrutarshi Basu
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

Re: [Tutor] zip and rar files

2008-06-07 Thread Andre Hagenbruch
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. __