This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from progress.bar import Bar | |
bar = Bar('Processing', max=20) | |
for i in range(20): | |
# Do some work | |
bar.next() | |
bar.finish() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Scrape latest mobile phones from Amazon """ | |
# virtualenv -p /usr/bin/python3 100DaysofCode | |
import requests | |
from lxml import html | |
from bs4 import BeautifulSoup | |
import json | |
session_requests = requests.session() |