[Distutils] WinNT and distutils

Greg Stein gstein@lyra.org
Fri, 28 Jan 2000 01:34:17 -0800 (PST)


On 28 Jan 2000, Michael Hudson wrote:
>...
> How hard are registry files to parse? They're just text aren't they?
> (not on windows, can't tell). Would a simple parser written in Python
> be even vaguely possible?

Registry files are binary files. You're thinking of a .reg file which can
be passed to regsvr32. .reg files have syntax similar to .ini files.

In short: no, you cannot parse them. You must have access to the Win32
registry functions.

There has been discussion about putting them into Python 1.6.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/