Skip to content

Instantly share code, notes, and snippets.

@stesh
Created December 6, 2013 23:33
Show Gist options
  • Save stesh/7833975 to your computer and use it in GitHub Desktop.
Save stesh/7833975 to your computer and use it in GitHub Desktop.
News
#!/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