AutoPy Introduction and Tutorial

AutoPy是一款简洁、跨平台的GUI自动化工具库,支持Python环境,具备控制键盘、鼠标、屏幕颜色与位图、显示警报等功能。它适用于MacOSX、Windows和X11系统,旨在提供便携、高效且简单的解决方案。

msanders/autopy · GitHub

AutoPy Introduction and Tutorial

by Michael Sanders

 Outline

  • Introduction
    • What is AutoPy?
    • How so?
  • Getting Started
    • Requirements
    • Installation
    • Hello World
  • Tutorials
    • Controlling the Mouse
    • Working with Bitmaps
  • Closing & API Reference
  • License
    • Summary
    • MIT License
    • The FreeBSD Documentation License

 Introduction

 What is AutoPy?

AutoPy is a simple, cross-platform GUI automation toolkit for Python. It includes functions for controlling the keyboard and mouse, finding colors and bitmaps on-screen, and displaying alerts -- all in a cross-platform, efficient, and simple manner.

How so?

  • Portable
    • Works on Mac OS X, Windows, and X11.
  • Efficient
    • Written in pure ANSI C.
  • Simple
    • AutoPy is designed as a toolkit, not a framework -- it doesn't get in your way. At the same time, convenience functions are provided where useful.*
  • Easy
    • AutoPy is designed to be simple and easy-to-understand, both for the end user and the implementor; that is, both the public API and the internals are straightforward and well-documented. It should be easy to pick up, and easy to modify if you need.

* (Note that this leaves the door wide open for frameworks built off of AutoPy; for instance, a library could be written for a more specific task, such as automating a game, that uses AutoPy as its backbone. This allows framework writers to take advantage of all the above qualities while having the luxury of writing in Python.)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值