Skip to content

Instantly share code, notes, and snippets.

@PhanDuc
PhanDuc / readExcel.py
Created August 1, 2018 11:40 — forked from armaandhir/readExcel.py
Reading data from excel using openpyxl
#
# I hate the documentation of openpyxl and it took me a while to undertand their stuff. So I decided to write down this code.
# Has some wrapper functions that reads all rows from the excel sheet and also a function to read a particular row.
# Add some code to the functions if you wish to do something on fly like adding values to list and sorting them later.
#
# Date: 28/09/2015
from openpyxl import load_workbook
# Reads all rows
@PhanDuc
PhanDuc / infiniteScroll_1.py
Created December 16, 2016 09:08 — forked from artjomb/infiniteScroll_1.py
infinite scroll of stackstatus with python in phantomjs
import selenium
import time
from selenium import webdriver
browser = webdriver.PhantomJS("phantomjs")
browser.get("https://twitter.com/StackStatus")
print browser.title
pause = 3