Python API

Post Reply
FranciscoPinto
Posts: 2
Joined: Fri Sep 17, 2021 3:17 am

Python API

Post by FranciscoPinto » Fri Sep 17, 2021 12:44 pm

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?

marafini.f
Posts: 363
Joined: Fri Nov 13, 2020 1:52 pm

Re: Python API

Post by marafini.f » Fri Sep 17, 2021 1:25 pm

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:

FranciscoPinto
Posts: 2
Joined: Fri Sep 17, 2021 3:17 am

Re: Python API

Post by FranciscoPinto » Fri Sep 17, 2021 1:30 pm

Uff!!! Many thanks.

marafini.f
Posts: 363
Joined: Fri Nov 13, 2020 1:52 pm

Re: Python API

Post by marafini.f » Fri Sep 17, 2021 1:50 pm

You are welcome!

Post Reply