On Tue, 28 Mar 2006, David Hirschfield wrote: > I need to be able to parse the script, modify some variable settings and > then write the script back out so that the only changes are the > variables I've modified (comments, ordering of statements, etc. must > remain the same). > > I looked at shlex, but I don't think it will do what I need.
What about regular expressions? -- .:[ dave benjamin -( ramen/sp00 )- http://spoomusic.com/ ]:. "one man's constant is another man's variable" - alan perlis -- http://mail.python.org/mailman/listinfo/python-list