开发者_JS百科how to create a lzma file in python and add files
Use PyLZMA.
1st result for Google: python lzma
.
Well, as of Python 3.3, there is an lzma module in the standard library.
For earlier Pythons, PyLZMA (as mentioned by @mcandre) is probably still your best bet.
精彩评论