Use Python to make a simple brush reader

Source: Internet
Author: User

Hehe, have to admire the powerful python, a few lines of code can do a simple brush bo.

Import WebBrowser as Webimport timeimport oscount=0while count<10:    count=count+1    #你要刷的博客    web.open_new _tab ("http://www.cnblogs.com/smiler/archive/2010/04/20/1716418.html#2856973")    time.sleep (1) Else:    Os.system (' taskkill/f/im  360se.exe ')    

You can try, there is no very strong, the younger brother just learned python, practiced hand used, here is the main learning three points of knowledge:

The 1.Python thread was originally under the Time module

2.Python call cmd command line so simple, much simpler than C #

3. Operate open the Web page, and then click OK.

Heartfelt strong ha, must learn!

Use Python to make a simple brush reader

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.