Starting Jupyter notebook
July 8, 2020
#build ssh tunnel for port 8888#to start (no need to be root)jupyter notebook # connect via browser to localhost:8888# to stopCTRL-C if activejupyter notebook stop if in background
#build ssh tunnel for port 8888#to start (no need to be root)jupyter notebook # connect via browser to localhost:8888# to stopCTRL-C if activejupyter notebook stop if in background
For python3, use pip3 to update: pip3 install numpy pip3 install scipy pip3 install scikit-learn
This will test to see if your python module (file that ends in .py) is being run from command line or being imported by another module. If you are running your file directly from the command line, the the variable __name__ is set to __main__ . If, however, your module is being imported by another … More if __name__ == ‘__main__’: main()