Python: Difference between revisions

From Wiki
Line 7: Line 7:
<pre>
<pre>
/usr/local/bin/jupyter-notebook --config=/home/pi/.jupyter/jupyter_notebook_config.py --allow-root
/usr/local/bin/jupyter-notebook --config=/home/pi/.jupyter/jupyter_notebook_config.py --allow-root
</pre>
</blockquote>
* insecure access without token/password (/home/pi/.jupyter/jupyter_notebook_config.py)
<blockquote>
<pre>
c.NotebookApp.ip = '*'
c.NotebookApp.notebook_dir = '/srv/Python'
c.NotebookApp.open_browser = False
c.NotebookApp.password = ''
c.NotebookApp.token = ''
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 09:57, 20 November 2017

Information

Jupyter Notebook

  • autostart from rc.local
/usr/local/bin/jupyter-notebook --config=/home/pi/.jupyter/jupyter_notebook_config.py --allow-root


  • insecure access without token/password (/home/pi/.jupyter/jupyter_notebook_config.py)
c.NotebookApp.ip = '*'
c.NotebookApp.notebook_dir = '/srv/Python'
c.NotebookApp.open_browser = False
c.NotebookApp.password = ''
c.NotebookApp.token = ''

Links

Downloads

python for beginners

pip for python3

  • apt-get install python3-setuptools
  • easy_install3 pip
  • pip-3.2 install <package>

mysql for python3

  • pymysql

mouse control

Links