ConfigParser - add a stop sentinel?

2005-01-12 Thread rzed
I am working with PythonCard in one of my apps. For its purposes, it uses an .ini file that is passed to ConfigParser. For my app, I also need configuration information, but for various reasons, I'd rather use a syntax that ConfigParser can't handle. I know I can maintain two separate

Re: ConfigParser - add a stop sentinel?

2005-01-12 Thread Larry Bates
You should probably consider NOT doing what you suggest. You would need to do some rather extensive work so you can support the .write method of ConfigParser. With a little ingenuity I've been able to user ConfigParser to support some very different and complex syntaxes on different projects.

Re: ConfigParser - add a stop sentinel?

2005-01-12 Thread rzed
Larry Bates [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: [responding to the idea of placing a sentinel in an ini file, and modifying ConfigParser to stop receiving input when it is encountered]: You should probably consider NOT doing what you suggest. You would need to do some rather