Mega Code Archive

 
Categories / Python Tutorial / Buildin Module
 

Starting a Web browser

os.system('/usr/bin/firefox') # A Windows version would be (again use the path of a browser you have installed) os.system(r'c:\"Program Files"\"Mozilla Firefox"\firefox.exe')