Integrating with other applications
There are several ways in which we can use Python when integrating with other applications. It's difficult to provide a comprehensive overview, as there are so many applications, each with unique, distinctive features. We can show you some broad design patterns:
Python may be the application's scripting language. For many examples, here's a list of applications that simply include Python as the primary method to add features: https://wiki.python.org/moin/AppsWithPythonScripting
A Python module can implement the application's API. There are numerous applications that include Python modules that provide a binding to the application's API. Application developers working in one language will often provide API libraries for other languages, including Python.
We can use the
ctypes
module to implement another application's API directly in Python. This works out well in the case of an application library that is focused on C or C++.We can use
STDIN
andSTDOUT
to...