# Jupyter Recognizes file path in one script but not other

**URL:** <https://discourse.jupyter.org/t/jupyter-recognizes-file-path-in-one-script-but-not-other/9942>\
**Category:** Notebook\
**Tags:** help-wanted\
**Created:** [July 13, 2021, 3:27pm UTC](https://discourse.jupyter.org/t/jupyter-recognizes-file-path-in-one-script-but-not-other/9942 "2021-07-13T15:27:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [July 13, 2021, 3:38pm UTC](https://discourse.jupyter.org/t/jupyter-recognizes-file-path-in-one-script-but-not-other/9942/2 "2021-07-13T15:38:12Z")

</div>

Did you try running `pwd` in a cell in both the new notebook and the old one? Is the current working directory the same? (See [here](https://jakevdp.github.io/PythonDataScienceHandbook/01.05-ipython-and-shell-commands.html#Quick-Introduction-to-the-Shell) about `pwd` if you are unfamiliar.)

You don’t say what type of system you are running on?  
Normally, on Mac or Linux, you’d probably want that path prefaced by `~/` to make it an absolute path instead of relative, see [here](https://unix.stackexchange.com/a/391920). Specifically with your example, you’d have more reproducibility with:

```python
file=open(‘~/Desktop/LL/Ex/Data/ciRF_VSL2_2.csv’)

```

---

_[View the full topic](https://discourse.jupyter.org/t/jupyter-recognizes-file-path-in-one-script-but-not-other/9942)._
