Is there a direct equivalent of gzip for IronPython?
A:
Yup. After half a second's Googling:
http://lists.ironpython.com/pipermail/users-ironpython.com/2006-September/003608.html
Rushyo
2010-09-17 11:38:01
Sorry - I dont know why I didn't see it. I get the following error: Could not add reference to assembly ICSharpCode.SharpZipLib
ManInMoon
2010-09-17 11:44:27
That's a completely different question from the one you asked... please edit your original question with as much information as possible, including the precise problem and steps you did before it happened.
Rushyo
2010-09-17 11:50:02
Not sure it is a different question.
ManInMoon
2010-09-17 12:16:06
I copied the code from the link you suggested above. I then ran it and got the error above.
ManInMoon
2010-09-17 12:16:51
Ah I see. Sorry, I hadn't realised you'd compiled it. It's after a reference to a particular library available here: http://www.icsharpcode.net/opensource/sharpziplib/
Rushyo
2010-09-17 12:22:11
Thank you. I see a lot of this to "downlaod" they just never tell you where you are supposed to put it - could you give me a clue please?
ManInMoon
2010-09-17 12:41:59
No problem. The reason is you can place it anywhere. Your project directory is often ideal. I actually keep my gzip lib on the root of C (not recommended). In Visual Studio you can right-click your project and go to 'Add Reference'. Look under 'Browse' and select the file from there. The error should go away. HTH. Lemme know if it doesn't.
Rushyo
2010-09-17 12:48:11
When I rightclick on project - says there are no command options....
ManInMoon
2010-09-17 14:37:56
Not sure what you mean, can you elaborate or provide a screenshot?
Rushyo
2010-09-17 14:51:07
A:
No, but you can drop in gzip.py from Python and use IronPython.Zlib. Some instructions are available on your other question.
Jeff Hardy
2010-09-21 19:03:20