web browsing short cut

Dustin Cheung dustin299 at gmail.com
Sat Jul 2 21:21:03 EDT 2011


Hey guys,

I am new to python. I want to make a shortcut that opens my websites
and re-sizes them to  display on different areas on the screen. I looked
around but i had no luck. Is that possible with python? if so can someone
point to to the right direction? Here is what I came up with so far..

Thanks in advance,

--------------------------------------------------------------------------------------------------------------


import webbrowser

# The websites i want to open..
url1 = 'http://www.python.org/'
url2 = 'http://www.google.com/'
url3 = 'http://msn.com/'

# the path to ie
ie = webbrowser.get('c:\\program files\\internet explorer\\iexplore.exe')
ie.open(url1)
ie.open(url2)
ie.open(url3)




-- 
Dustin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110702/5ef7b717/attachment.html>


More information about the Python-list mailing list