How to Begin Editing a Document in Python

pip install cloudmersive-convert-api-client
from __future__ import print_function
import time
import cloudmersive_convert_api_client
from cloudmersive_convert_api_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: Apikey
configuration = cloudmersive_convert_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'
# create an instance of the API class
api_instance = cloudmersive_convert_api_client.EditDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration))
input_file = '/path/to/inputfile' # file | Input file to perform the operation on.
try:
# Begin editing a document
api_response = api_instance.edit_document_begin_editing(input_file)
pprint(api_response)
except ApiException as e:
print("Exception when calling EditDocumentApi->edit_document_begin_editing: %s\n" % e)

--

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Shell scripting — the awk way to web scraping and other tasks

Perspectives on Enterprise Software

Static Methods: Python OOP Complete Course — Part 6

A dummy image for better reading and navigation.

Unity2D DevLog 17 — Check Your Rear-View Mirror

Hacking Series Part 1

Top must know functions on Pandas

“Randomness” in Ruby

He stared at the paper for a good ten minutes. He asked if we had to talk about it now

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

More from Medium

How to run PostgreSql using Docker and Python

Python Multiple Inheritance — Python MRO (Method Resolution Order) in 1 minute

Convert a Scanned Image into Text in Python

Let us build Restful APIs for CRUD operations in the Top three Web-development Frameworks for…