H-Index with Google Scholar

2009-02-25 Thread Gonsolo
I wrote a small script to compute the H-Index of an author. It is modeled after activestate's google search: http://code.activestate.com/recipes/523047/ Example use: hindex i daubechies Result: 49 The script: #!/usr/bin/python import httplib, urllib, re, sys from BeautifulSoup import BeautifulS

Compute working days

2009-03-14 Thread Gonsolo
I found no solution on the net so I am posting my solution here. It can be called with "python cwd 1-1-2009 14-3-2009" from dateutil.rrule import * from dateutil.parser import * from datetime import * from sys import * start = parse( argv[1] ) #end = datetime.now() end = parse( argv[2] ) workday