An instance is an access to InstantTerra software. It controls InstantTerra with the Python script.
The Python code can be executed with the command prompt or by running a Python script.
# Import InstantTerra class from the wysilab package from wysilab import InstantTerra # Start the instance it = InstantTerra()
Once done, create the instance :
This example uses a variable named it, but you can
use any name that is not a Python keyword (i.e.
instant = InstantTerra()).
The instance is fully initialized when the InstantTerra window is open.
# Close the instance it.close()
To close our instance correctly, simply call the method
This closes the InstantTerra window automatically.
Copyright © 2021 · All Rights Reserved · Wysilab