2. Python的懶人包--Anaconda
Anaconda is a free and open source distribution of
the Python and R programming languages for data
science and machine learning related applications
26. 3.) Use password instead of the login
token
設定密碼: jupyter notebook password
再次啓動Jppyter notebook , 此時已改成用密碼登入
27. Juypter notebook 其他參數
#Specify what command to use to invoke a web
browser when opening the notebook.
c.NotebookApp.browser=
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir=
'C:/Users/Joseph/Documents/python_example'
38. virtualenv
virtualenv is a tool to create isolated
Python environments.
Virtualenv 可以隔離函數庫需求不同的專
案,讓它們不會互相影響
pip install virtualenv
Create a directory to use for the
virtualenv:
• mkdir test-venv
• virtualenv ./test-venv
38
39. • activate the virtualenv:
• source ./xxx-venv/bin/activate
• you can deactivate it afterwards, by
simply running deactivate
39