Page 1 of 1

Python API

Posted: Fri Sep 17, 2021 12:44 pm
by FranciscoPinto
Dear STKO team,

When I tried to work with Python API, I got a window with the next error:

'NoneType' has no attribute 'loader'

How can I fix it?

Re: Python API

Posted: Fri Sep 17, 2021 1:25 pm
by marafini.f
Dear Francisco Pinto,

you need to save your script with the python extension, like script.py, otherwise, the API will not recognize the format of your script.

Let us know if you need anything else.
Francesca :geek:

Re: Python API

Posted: Fri Sep 17, 2021 1:30 pm
by FranciscoPinto
Uff!!! Many thanks.

Re: Python API

Posted: Fri Sep 17, 2021 1:50 pm
by marafini.f
You are welcome!