Use Python to create a simple bot,

Source: Internet
Author: User

Use Python to create a simple bot,

Haha, I have to admire the power of Python. A few words of code can be used as a simple hacker.

Import webbrowser as webimport timeimport oscount = 0 while count <10: count = count + 1 # blog 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 to see if it is very powerful. I just learned Python and practiced it. Here I mainly learned three knowledge points:

1. the Python thread was originally in the time module.

2. Python calls the cmd command line, which is much simpler than C #.

3. open the webpage and click OK.

I sincerely hope you can learn it well!

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.