Skip to content

Instantly share code, notes, and snippets.

View MBoaretto25's full-sized avatar

Marco Boaretto MBoaretto25

View GitHub Profile
@MBoaretto25
MBoaretto25 / fabfile.py
Last active February 14, 2019 16:07
fabfile template for pushing local files to a remote folder, and running script in background.
"""
It is a good practice to usually run fabric directly from is
directory folder
to install:
pip install fabric3
to run (in fabfile current directory):
fab test
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 31 15:41:46 2019
@author: boaretto
"""
from string import digits
from nltk import ngrams, FreqDist
from nltk.corpus import stopwords