Created
December 6, 2013 23:33
-
-
Save stesh/7833975 to your computer and use it in GitHub Desktop.
News
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
#!/usr/bin/python | |
from subprocess import call | |
open = lambda s: call(['open', 'http://%s' % s]) | |
news = [ | |
'bbc.co.uk', | |
'theguardian.co.uk', | |
'telegraph.co.uk', | |
'independent.ie', | |
'irishtimes.com', | |
'lemonde.fr', | |
'lefigaro.fr', | |
'ledevoir.com', | |
'montrealgazette.com', | |
'cbc.ca', | |
'radio-canada.ca' | |
] | |
map(open, news) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment