0

I have a jupyter notebook with python code and am wondering if it needs to go to a specific file location in Ubuntu? Is there a best practice as to where to put it? Does it not matter?

For example, I place my html/css code in /var/www/html in ubuntu.

Thank you!

paradox
  • 602
  • 6
  • 13
Nelly Yuki
  • 399
  • 1
  • 4
  • 16

2 Answers2

1

There is no "recommended" directory as in case of hosted websites that are placed under /var/www/html. It is more of a personal preference.

I personally use a subdirectory under /home/username to organizes all my codes files with separate folders for each project.

paradox
  • 602
  • 6
  • 13
0

Since you mentioned "windows subsystem for Linux." I recommend :

  1. Create a folder in /mnt/c/my_notebook_folder. You can also access this folder from windows c:\my_notebook_folder

  2. Initialize a git repo and checking the code to GitHub/bitbucket or source control of your choice.