Search code examples
pythonubuntu-18.04windows-subsystem-for-linuxfhs

saving jupyter notebook/python files on ubuntu 18.04.1 LTS


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!


Solution

  • 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.