Skip to content

Instantly share code, notes, and snippets.

@liushuaikobe
Last active January 3, 2016 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save liushuaikobe/8429339 to your computer and use it in GitHub Desktop.
Save liushuaikobe/8429339 to your computer and use it in GitHub Desktop.
开机时执行这个脚本,自动打开默认浏览器,然后尽情的刷一会。
import webbrowser
import os
urls = [
'http://www.douban.com',
'http://weibo.com',
'http://www.zhihu.com',
'http://www.v2ex.com/',
'https://github.com/',
'https://mail.google.com/',
'http://instagram.com/',
'http://www.xiami.com'
]
map(lambda x: webbrowser.open(x), urls)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment