How to Solve NameError: name 'Ks' is not defined -- keystone

Solution: Import the 'Ks' module

To Solve the error, add the following line to the top of your code.

from keystone import Ks

 

For more information:
Python keystone Ks