Home > Software design >  Change directory in Jupyter Lab not working
Change directory in Jupyter Lab not working

Time:05-07

I ran the commands attached below in my command line and it works, as it should, but not in JupyterLab. It seems odd but I was wondering what's going on?

enter image description here

CodePudding user response:

The !cd datasets command did work. However, you aren't understanding what is going on with the use of the exclamation point. What the exclamation point does is open a separate temporary shell instance and does work returning what gets returned. The separate shell instance goes away. Poof

What you were trying to do was change the working directory within your notebook. And so you wanted to use:

           
  • Related