I can hardcode this with no issues
CSV_FILE = r"C:\\Users\\cccc\\Desktop\\~GIS_projects\\aaaStagingProcessingScripts_dev_tst\\AGOL_User_Expire_Email\\AGOL_Users_ToExpire\\UsersAboutToExpire.csv"
df_new = pd.read_csv(CSV_FILE)
I want to grab the Location OA path with this
osPath = os.path.dirname(os.path.abspath(__file__))
CSV_FILE = osPath + r"\\AGOL_Users_ToExpire\\UsersAboutToExpire.csv"
df_new = pd.read_csv(CSV_FILE)
BUT the layer does not work... any thoughts? Seems like a syntax issue but cant figure it out