+1 323 268 0395 kmw@caltek.net

maptimela mailing list archives

kmw@kmw-1015PX:~$ python Pytho [...]

by
Kenneth Wyrick
- 03/02/2018 03:13:07

kmw@kmw-1015PX:~$ python
Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
KeyboardInterrupt
>>> exit()
kmw@kmw-1015PX:~$ ssh root@64.137.232.39
root@64.137.232.39's password: 
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb 19 18:21:24 2018 from 172.6.129.30
root@localhost:~# python
Python 2.7.13 (default, Nov 24 2017, 17:33:09) 
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> myList = ['string', 2, ['Another List', 2.0]]
>>> python3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'python3' is not defined
>>> quit()
root@localhost:~# python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04) 
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
root@localhost:~# sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-pip is already the newest version (9.0.1-2).
The following packages were automatically installed and are no longer required:
  libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libclass-c3-perl
  libclass-c3-xs-perl libcpan-meta-perl libdata-optlist-perl
  libdata-section-perl libintl-perl libjasper1 liblog-message-perl
  liblog-message-simple-perl libmodule-build-perl libmodule-pluggable-perl
  libmodule-signature-perl libmro-compat-perl libpackage-constants-perl
  libparams-util-perl libperl4-corelibs-perl libpng12-0 libpod-latex-perl
  libpod-readme-perl libregexp-common-perl libsoftware-license-perl
  libsub-exporter-perl libsub-install-perl libterm-ui-perl
  libtext-soundex-perl libuuid-perl libxapian22
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
root@localhost:~# sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libclass-c3-perl
  libclass-c3-xs-perl libcpan-meta-perl libdata-optlist-perl
  libdata-section-perl libintl-perl libjasper1 liblog-message-perl
  liblog-message-simple-perl libmodule-build-perl libmodule-pluggable-perl
  libmodule-signature-perl libmro-compat-perl libpackage-constants-perl
  libparams-util-perl libperl4-corelibs-perl libpng12-0 libpod-latex-perl
  libpod-readme-perl libregexp-common-perl libsoftware-license-perl
  libsub-exporter-perl libsub-install-perl libterm-ui-perl
  libtext-soundex-perl libuuid-perl libxapian22
0 upgraded, 0 newly installed, 30 to remove and 39 not upgraded.
After this operation, 11.4 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 86005 files and directories currently installed.)
Removing libsoftware-license-perl (0.103012-1) ...
Removing libdata-section-perl (0.200006-1) ...
Removing libmro-compat-perl (0.12-1) ...
Removing libclass-c3-perl (0.32-1) ...
Removing libalgorithm-c3-perl (0.10-1) ...
Removing libarchive-extract-perl (0.72-1) ...
Removing libasprintf0c2:amd64 (0.19.3-2) ...
Removing libclass-c3-xs-perl (0.14-1+b1) ...
Removing libpod-readme-perl (0.11-1) ...
Removing libmodule-build-perl (0.422000-1) ...
Removing 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'
Removing 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'
Removing libcpan-meta-perl (2.150010-1) ...
Removing libsub-exporter-perl (0.986-1) ...
Removing libdata-optlist-perl (0.110-1) ...
Removing libintl-perl (1.23-1+deb8u1) ...
Removing libjasper1:amd64 (1.900.1-debian1-2.4+deb8u3) ...
Removing libterm-ui-perl (0.46-1) ...
Removing liblog-message-simple-perl (0.10-2) ...
Removing liblog-message-perl (0.8-1) ...
Removing libmodule-pluggable-perl (5.1-1) ...
Removing libmodule-signature-perl (0.81-1) ...
Removing libpackage-constants-perl (0.06-1) ...
Removing libparams-util-perl (1.07-3+b1) ...
Removing libperl4-corelibs-perl (0.003-2) ...
Removing libpng12-0:amd64 (1.2.50-2+deb8u3) ...
Removing libpod-latex-perl (0.61-2) ...
Removing 'diversion of /usr/bin/pod2latex to /usr/bin/pod2latex.bundled by libpod-latex-perl'
Removing 'diversion of /usr/share/man/man1/pod2latex.1.gz to /usr/share/man/man1/pod2latex.bundled.1.gz by libpod-latex-perl'
Removing libregexp-common-perl (2016060801-1) ...
Removing libsub-install-perl (0.928-1) ...
Removing libtext-soundex-perl (3.4-1+b4) ...
Removing libuuid-perl (0.27-1) ...
Removing libxapian22 (1.2.19-1+deb8u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
root@localhost:~# sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-pip is already the newest version (9.0.1-2).
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
root@localhost:~# pip3 install geojson
Collecting geojson
  Downloading geojson-2.3.0-py2.py3-none-any.whl
Installing collected packages: geojson
Successfully installed geojson-2.3.0
root@localhost:~# pip3 install craigslist
Collecting craigslist
  Downloading craigslist-0.1.5-py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 2.1MB/s 
Collecting blessings (from craigslist)
  Downloading blessings-1.6.1-py3-none-any.whl
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from craigslist)
Collecting cssselect (from craigslist)
  Downloading cssselect-1.0.3-py2.py3-none-any.whl
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from craigslist)
Collecting arrow (from craigslist)
  Downloading arrow-0.12.1.tar.gz (65kB)
    100% |████████████████████████████████| 71kB 2.7MB/s 
Requirement already satisfied: python-dateutil in /usr/lib/python3/dist-packages (from arrow->craigslist)
Building wheels for collected packages: arrow
  Running setup.py bdist_wheel for arrow ... done
  Stored in directory: /root/.cache/pip/wheels/8b/f0/11/a675889f0f47d50ace5f8e1015c138c10a90e50327078710fd
Successfully built arrow
Installing collected packages: blessings, cssselect, arrow, craigslist
Successfully installed arrow-0.12.1 blessings-1.6.1 craigslist-0.1.5 cssselect-1.0.3
root@localhost:~# pip3 install slackclient
Collecting slackclient
  Downloading slackclient-1.1.3.tar.gz
Requirement already satisfied: requests<3.0a0,>=2.11 in /usr/lib/python3/dist-packages (from slackclient)
Requirement already satisfied: six<2.0a0,>=1.10 in /usr/lib/python3/dist-packages (from slackclient)
Collecting websocket-client<1.0a0,>=0.35 (from slackclient)
  Downloading websocket_client-0.47.0-py2.py3-none-any.whl (200kB)
    100% |████████████████████████████████| 204kB 1.8MB/s 
Building wheels for collected packages: slackclient
  Running setup.py bdist_wheel for slackclient ... done
  Stored in directory: /root/.cache/pip/wheels/c5/fe/31/22e8e5251b033a02315dec64f7ebf12924d8db291ccb5d5e83
Successfully built slackclient
Installing collected packages: websocket-client, slackclient
Successfully installed slackclient-1.1.3 websocket-client-0.47.0
root@localhost:~#