0

This is the filepath of the ipynb notebook:

J:\AAA\BBB CCC\DDD \EEE FFF.ipynb

I did this: %run J:/AAA/BBB CCC/DDD /EEE FFF.ipynb

But got the following error:

Exception: File 'J:/AAA/BBB.py' not found.

How do I deal with files or folders that have spaces?

Haikal Yeo
  • 247
  • 1
  • 12
  • You want to look into perhaps using quotes around the name of the path/filename or a Python raw string literal to reference the file path correctly. See [here](https://stackoverflow.com/a/25650185/8508004) or [here](https://stackoverflow.com/a/2953843/8508004) or [here](https://stackoverflow.com/q/63971588/8508004). – Wayne Nov 21 '22 at 22:21

0 Answers0