import sys
import subprocess
from pathlib import Path
from IPython.display import display
= sys.version_info
v print(f"We are using Python {v.major}.{v.minor}.{v.micro}")
# Append GRASS to the python system path
sys.path.append("grass", "--config", "python_path"], text=True).strip()
subprocess.check_output([
)
# Import GRASS libraries
import grass.script as gs
import grass.jupyter as gj
# GRASS Variables
= "grassdata"
grassdata = "Swannanoa"
project_name = "flight" mapset
We are using Python 3.10.12