[Tutor] little something in the way of file parsing

Erik Price erikprice at mac.com
Wed Aug 21 12:09:03 EDT 2002


On Tuesday, August 20, 2002, at 05:37  PM, bscott at ntisys.com wrote:

>   Heh.  This is pretty ironic.  One of the standard Luddite responses to
> Python is that whitespace is syntactically significant.  Personally, I 
> find
> it a bit weird, but I'm not used to it, and it certainly isn't a
> show-stopper.  But in this case, this property of Python has come into
> conflict with something: The message was mangled by line-wrapping, and 
> thus,
> the indentation is no longer sane.  Any chance you can either (1) fixup 
> the
> code to wrap < 75 columns, or (2) post it on the web somewhere?

Good call.  I talked to the original author (Sean Perry), and he said 
the code is public domain.  I copied it from the origninal email to a 
text file, it's located at

http://homepage.mac.com/~erikprice/debian_avail.py

I encourage anyone with the "available" file on their [Debian] system to 
try it out.  I hope that I didn't mess up the whitespace, if I did just 
let me know.

Sean also told me that the script was *not* used in any final Debian 
release, so if you look for it there you won't find it.  But he has been 
working on improving the script when he's had some free time, so who 
knows for the future.






Erik





--
Erik Price

email: erikprice at mac.com
jabber: erikprice at jabber.org




More information about the gnhlug-discuss mailing list