Python: Difference between revisions
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
- http://docs.python-guide.org/en/latest/writing/structure/ How to structure projects
- http://en.wikibooks.org/wiki/Python_Programming
pip for python3
- apt-get install python3-setuptools
- easy_install3 pip
- pip-3.2 install <package>
mysql for python3
- pymysql
mouse control
- dogtail
- http://sourceforge.net/projects/xautomation/
- http://stackoverflow.com/questions/2986286/simulate-mouse-movement-in-ubuntu
- http://seleniumhq.org/
- http://www.sikuli.org/productivity.html