News for hackers. Stuff that matters.
Re:Python Is Not Java by statictype on Wednesday February 25, 2009 @09:23PM (#495304)
Thats interesting because I recently tackled the same problem of storing configuration details for backing up files.

I took Python's ConfigParser module and modified it to suit my needs. The config file looks a bit like this:

    [directory-details]
    path = /media/programming
    exclude_dirs = *log_files, *temp_files

    [directory-details]
    path = /media/documents
    exclude_dirs = /media/documents/archive
Honestly, though, xml is a perfectly valid format for storing such configuration.
Re:Python Is Not Java by moe on Thursday February 26, 2009 @03:42AM (#495656)
Honestly, though, xml is a perfectly valid format for storing such configuration.

Not when a human has to touch it without tool support.