?? | ????? zip ??
???? ?? ???? ??? ?? ??? ????? ??????.
? ????? ????? .NET? ?? Python? ?? aspose.zip? ???? ??? ?????.
- PIP*? aspose.zip? ?? .net? ?? Python? ?? API? ?????? ???? ?? ?? ?????. ? ??? ????? ?? ??? ?????.
PIP ?? ASPESS-ZIP
??? ???? ??? ???? ??? ? ????.
1# Import Aspose.Zip for Python via .NET module
2import aspose.zip as az
3
4# Create and save archive with single file
5with az.Archive() as archive:
6 archive.create_entry("entry_name.dat", "input_file.dat")
7 archive.save('my_archive.zip')