You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Install this .exe: https://www.python.org/ftp/python/3.5.2/python-3.5.2-amd64.exe
2. Python3.5 will be availabe at: C:\Users\admin\AppData\Local\Programs\Python\Python35\python.exe
3. Uninstall Python3.5 after testing.
To install python 3.5 on Ubuntu:
1. Ubuntu 16.04 has python3.5 installed by default:
```
vagrant@vagrant:/tmp/pyexample$ dpkg -s python3.5
Package: python3.5
Status: install ok installed
```
```
vagrant@vagrant:/tmp/pyexample$ which python3.5
/usr/bin/python3.5
```
To run the application:
Windows & Ubutu commands provided:
Provide a blob
- C:\temp\pyexamples>C:\Users\admin\AppData\Local\Programs\Python\Python35\python.exe frontend.py --data "hello|world|123"
- vagrant@vagrant:/tmp/pyexample$python3.5 frontend.py --data "hello|world|123"
```
Top 10 words...
10 - Count: 1 Words: ['world']
9 - Count: 1 Words: ['hello']
```
- C:\temp\pyexamples>C:\Users\admin\AppData\Local\Programs\Python\Python35\python.exe frontend.py --data "hello world's this is life """test""" 'life's are carzy workd! life test life live live live live 93"
- vagrant@vagrant:/tmp/pyexample$python3.5 frontend.py --data "hello world's this is life """test""" 'life's are carzy workd! life test life live live live live 93"
```
Top 10 words...
10 - Count: 4 Words: ['live']
9 - Count: 3 Words: ['life']
8 - Count: 2 Words: ['test']
7 - Count: 1 Words: ["life's"]
6 - Count: 1 Words: ['this']
5 - Count: 1 Words: ['is']
4 - Count: 1 Words: ['are']
3 - Count: 1 Words: ['hello']
2 - Count: 1 Words: ["world's", 'workd']
1 - Count: 1 Words: ['carzy']
```