Relative path resolution fails for Kaggle Notebooks when moving from local IDE
When developing a Kaggle Notebook locally, data files are often accessed with relative paths such as ../input/file.csv or ./data/file.csv . The same notebook, when uploaded to the Kaggle platform, encounters a FileNotFoundError because the platform does not expose the parent directory and expects the exact /kaggle/input//file.csv path. The goal is to write a