GroupDocs.编辑器云Python SDK
groupdocs-editor-cloud的Python项目详细描述
在GroupDocs.编辑器云Python SDK
用于与通信的Python包GroupDocs.编辑器云API
在GroupDocs.编辑器Cloud允许您跨各种受支持的文档类型编辑文档:
- 微软Word文档-DOC,DOCX,DOCM,DOT,DOTM,DOTX,RTF,flatpc,WordML,TXT
- Microsoft Excel电子表格-XLS,XLSX,XLSM,XLT,XLTX,XLTM,XLSB,电子表格ML,CSV,TSV
- Microsoft PowerPoint演示文稿-PPT、PPTX、PPTM、POT、PPS等
- 开放文件格式-ODT、OTT、ODS、ODP、OTP
- 标记-HTML、MHTML、XML。在
要求
Python 2.7或3.4+
安装
pip install groupdocs-editor-cloud
或克隆存储库并通过Setuptools安装:
^{pr2}$入门
请按照installation procedure操作,然后运行以下命令:
# Import moduleimportgroupdocs_editor_cloud# Get your app_sid and app_key at https://dashboard.groupdocs.cloud (free registration is required).app_sid="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"app_key="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"# Create instance of the APIapi=groupdocs_editor_cloud.InfoApi.from_keys(app_sid,app_key)try:# Retrieve supported file-formatsresponse=api.get_supported_file_formats()# Print out supported file-formatsprint("Supported file-formats:")forformatinresponse.formats:print('{0} ({1})'.format(format.file_format,format.extension))exceptgroupdocs_editor_cloud.ApiExceptionase:print("Exception when calling get_supported_file_formats: {0}".format(e.message))
许可
在GroupDocs.编辑器云Python SDK在MIT License下授权。在
资源
联系我们
你的反馈对我们很重要。请随时使用我们的Support Forums与我们联系。在
- 项目
标签: