Skip to content

Instantly share code, notes, and snippets.

View guseppiguliano's full-sized avatar
🎯
Focusing

Abdullah Ayub guseppiguliano

🎯
Focusing
View GitHub Profile
@VMuliadi
VMuliadi / [Python] install.py
Last active August 25, 2018 17:27
An automation script that will handle the full package on my laptop. Using Python 2.7 and Web Scraping technique to get the latest version. Make sure you already installed Python 2
import os
os.system('dnf update -y')
os.system('dnf install -y pip python2-lxml')
os.system('pip install pip --upgrade')
os.system('pip install BeautifulSoup4 lxml')
import urllib2
import subprocess
from bs4 import BeautifulSoup