RE: Parsing Indented Text (like parsing Python)

2007-03-11 Thread Mike Schinkel
it wrong. That's why all people always say > "never mix tabs and spaces" Ah. I didn't know that. Like I said at first, I am new to Python (but I've been reading a lot about it! 3 books thus far. Nutshell, Cookbook, wxPython) Okay, I'll just use a directiv

RE: Parsing Indented Text (like parsing Python)

2007-03-11 Thread Mike Schinkel
us the setting but how can I make it obvious to my program? I could force the user to specify tabwidth at the top of the file, but I'd rather not. And since Python doesn't either, I know it is possible to write a parser to do this. I just don't know how. -- -Mike Schinkel http

Parsing Indented Text (like parsing Python)

2007-03-11 Thread Mike Schinkel
quire multipass parsing and lots of code. Any help would be appreciated. -- -Mike Schinkel http://www.mikeschinkel.com/blogs/ http://www.welldesignedurls.org http://atlanta-web.org - http://t.oolicio.us -- http://mail.python.org/mailman/listinfo/python-list