williballenthin / python-registry

Pure Python parser for Windows Registry hives.
Apache License 2.0
425 stars 103 forks source link

Update amcache.py #104

Open skyg4mb opened 2 years ago

skyg4mb commented 2 years ago

Solving some problems with csv exports.

williballenthin commented 2 years ago

would you please explain the problems that you're looking to solve with this PR?

for example, i see that the changes tweak the output behavior to emit results to hardcoded file names rather than stdout. why?

skyg4mb commented 2 years ago

Of course, in this link a user commented an error when trying to perform the parse (https://gist.github.com/williballenthin/ee512eacb672320f2df5), the problem was in the csvwriter declaration since when adding information to the file we obtained " TypeError: write() argument must be str, not bytes"