I have searched around and have not seen a way to print out the current working directory for the gdal package in Python at all in Stackoverflow. Is there a method that I am missing? I did not see any method related to current working directory for gdal's python package at https://gdal.org/api/python.html
I was trying to call the gdal.warp(xxx, xxx), but it shows input file type is invalid.
Thanks ahead.
import gdal
then gdal.__file__
like any other package from user smci
is actually the answer :)