Difference between revisions of "Python"

From MyWiki
Jump to: navigation, search
Line 41: Line 41:
 
_ http://code.activestate.com/recipes/278731-creating-a-daemon-the-python-way/<br>
 
_ http://code.activestate.com/recipes/278731-creating-a-daemon-the-python-way/<br>
 
_ https://www.reddit.com/r/raspberry_pi/comments/4vhofs/creating_a_systemd_daemon_so_you_can_run_a_python/<br>
 
_ https://www.reddit.com/r/raspberry_pi/comments/4vhofs/creating_a_systemd_daemon_so_you_can_run_a_python/<br>
http://www.makeuseof.com/tag/5-websites-learn-python-programming/<br>
+
http://www.makeuseof.com/tag/5-websites-learn-python-programming/<br>http://stackoverflow.com/questions/4696413/ftp-retrbinary-help-python<br>
http://stackoverflow.com/questions/4696413/ftp-retrbinary-help-python<br>
+
 
http://www.java2s.com/Tutorial/Python/0420__Network/FTPDownloadExample.htm<br>
 
http://www.java2s.com/Tutorial/Python/0420__Network/FTPDownloadExample.htm<br>
 
https://pythonspot.com/ftp-client-in-python/    This looks good for downloading multiple files.<br>
 
https://pythonspot.com/ftp-client-in-python/    This looks good for downloading multiple files.<br>

Revision as of 16:07, 2 June 2018

apt install python3-pip
 
python2 -m pip install ipykernel
python2 -m ipykernel install --user
 
python3 -m pip install ipykernel
python3 -m ipykernel install --user
 
Here are the history commands
  10  sudo apt isstall python-pip
   11  sudo apt istall python-pip
   12  sudo apt install python-pip
   13  pip install jupiter
   14  pip install Jupiter
   15  sudo pip install Jupiter
   16  sudo -H pip install Jupiter
   17  sudo -H pip install Jupyter
   18  jupyter notebook
   19  conda
   20  sudo su - 
   21  python2 -m ipykernel install --user
   22  python3 -m pip install ipykernel
   23  sudo python3 -m pip install ipykernel
   24  python3 --version
   25  sudo apt install python3-pip
   26  python3 -m pip install ipykernel
   27  python3 -m ipykernel install --user
   28  sudo su - 
   29  ip addr
   30  ifconfig
   31  history

Install flash on ubuntu 18 - https://websiteforstudents.com/install-adobe-flash-player-on-ubuntu-18-04-lts-beta-desktop/ python dashboards - https://blog.dominodatalab.com/interactive-dashboards-in-jupyter/
Running as a daemon under systemd :-
_ http://devopspy.com/linux/python-script-linux-systemd-service/
_ http://code.activestate.com/recipes/278731-creating-a-daemon-the-python-way/
_ https://www.reddit.com/r/raspberry_pi/comments/4vhofs/creating_a_systemd_daemon_so_you_can_run_a_python/
http://www.makeuseof.com/tag/5-websites-learn-python-programming/
http://stackoverflow.com/questions/4696413/ftp-retrbinary-help-python
http://www.java2s.com/Tutorial/Python/0420__Network/FTPDownloadExample.htm
https://pythonspot.com/ftp-client-in-python/ This looks good for downloading multiple files.
Python download by ftp
Python ftp with timestamp
Coursera - Getting started with Python
Coursera - Python Data Structures
Python reading from standard in
Python writing to a file
Python connecting to mysql database
Installing Python on Windows