Is it possible to use Python with any external library?
Certainly, it is possible to utilize Python with various external libraries in FactoryStudio.
There are three distinct methods for integrating Python into FactoryStudio: employing the TKDataAccess toolkit, utilizing Python for .Net, and leveraging the Script>Task feature for Python. Detailed documentation along with instructional videos can be found at: Python Integration - 9.2 - Tatsoft LLC
For the incorporation of any external library with Python, we recommend utilizing the TKDataAccess toolkit, which is comprehensively explained in this video: https://docs.tatsoft.com/download/attachments/29493155/Tatsoft_LearningIn5Minutes_UsingPythonTKDataAccess.mp4?version=2&modificationDate=1631307292000&api=v2
You can easily download the required libraries using “pip install …” and import them into the “main.py” file.
We advise opting for Python 3.6 to preemptively address potential issues arising from alterations in file structures in subsequent Python updates.
In the following link you can download an exemple project that implements TKDataAccess com Python usando a biblioteca Random: Egnyte