Can I integrate cartes in Python and how?

Yes you can, you must use ActiveX.
Its operation is described in the RPA Developer help, in the topic “Programming with Cartes, ActiveX”.
If you choose to install RPA Developer, you will also have several examples of ActiveX programming with Cartes in JavaScript, Visual Basic Script, Java, and C #.

Here is a Python code example:
importar win32com.client
import sys
class Bloc de notas:
def init (self):
self.cartes = win32com.client.Dispatch (“Cartes.CartesObj”)
self.cartes.execute (‘Balloon (“Loading notepad.rpa”);’)
self.cartes.execute ( ‘abierto (“notepad.rpa”);’)