This article describes the simple implementation of Python script to open the default browser login for everyone and open QQ method. Share to everyone for your reference, as follows:
Open the computer every day the first thing should be to open everyone brush, and then boarded QQ. Each time this is very troublesome, so wrote a script, each double-click to complete the two tasks automatically.
Note: You need to select "Next automatic Login" when everyone is logged in, QQ should also choose automatic login. In fact, feel these settings are not necessary, can be completed with a script, but I compare water, stole the lazy, did not go to check the information.
The code is as follows:
TODO.PYW:
A total of only 4 lines, simple, save it as a *.pyw file, each time you double-click to automatically login to my QQ, and the default browser to open my everyone.
I also found, if it is *.py, then double-click the execution will pop up a black window flash, save to *.pyw will not appear this flash black window.
Sometimes laziness is also the driving force of learning.
More readers interested in Python related content can view this site topic: "Introduction to Python and Advanced Classic Tutorial" and "Python file and directory Operations Tips Summary"
I hope this article is helpful for Python program design.