目录
4 Python——uiautomator2库安装
1 蚂蚁森林简介
蚂蚁森林是一项旨在推动公众减排的公益项目。每个人的低碳行为都堪称蚂蚁森林里的“绿色能量”。当“绿色能量”积累到一定程度时,你可以用手机在生态急需修复的地区申请种一棵真树,或者在生物多样性急需保护的地区“认领”保护权益。
[En]
Ant Forest is a public welfare project designed to drive the public to reduce emissions. Everyone’s low-carbon behavior can be regarded as “green energy” in the ant forest. When “green energy” accumulates to a certain extent, you can use your mobile phone to apply for planting a real tree in areas where ecology is in urgent need of restoration, or to “claim” protection rights and interests in areas where biodiversity is in urgent need of protection.
蚂蚁森林在各地的生态修复项目,是由蚂蚁集团向公益机构捐赠资金,由公益机构组织种植养护等具体工作,并由当地林业部门进行业务监管,所有项目都有对应的捐赠协议、验收报告。 [23]
2019年9月19日,中国”蚂蚁森林”项目获 联合国 ” 地球卫士奖 “
据生态环境部2021年”全国低碳日”主场活动公布的数据:蚂蚁森林从2016年上线5年来,已累计带动超过6.13亿人参与低碳生活,产生”绿色能量”2000多万吨。
为了鼓励公众过上低碳生活,蚂蚁森林近五年来参与了11个省份的生态修复工作,累计植树3.26亿棵,其中甘肃和内蒙古植树超过1亿棵。同时,蚂蚁森林还在全国10个省份设立了18个公益保护区,保护野生动植物1500余种。通过各地生态环保工程,蚂蚁森林累计创造种植、养护、巡护等绿色就业岗位238万个,为当地群众带来劳务增收3.5亿元。
[En]
In order to encourage the public to live a low-carbon life, the ant forest has participated in the ecological restoration work in 11 provinces in the past five years, planting a total of 326 million trees, including more than 100 million in Gansu and Inner Mongolia. At the same time, the Ant Forest has also set up 18 public welfare protection sites in 10 provinces across the country, protecting more than 1500 species of wild animals and plants. Through ecological and environmental protection projects in various places, the ant forest has created a total of 2.38 million green jobs such as planting, maintenance and patrolling, bringing an increase of 350 million yuan in labor income for the local people.
蚂蚁集团公开宣称,蚂蚁森林每年数亿美元的投资是纯公益捐赠。种植在蚂蚁森林里的树木一旦被捐赠,就属于国家和社会。如果这些树将来产生碳汇,它们将全部用于公益。蚂蚁森林从未参与过碳交易。如果蚂蚁森林中记录的个人碳减排在未来可以交易,产生的所有好处都将属于用户,而不是蚂蚁森林。
[En]
Ant Group publicly declared that the annual investment of hundreds of millions of dollars in ant forest is a pure public welfare donation. Once the trees planted in the ant forest are donated, they belong to the state and society. if these trees produce carbon sequestration in the future, they will all be used for public welfare. Ant Forest has never been involved in carbon trading. If the individual carbon reductions recorded in the ant forest can be traded in the future, all the benefits generated will belong to the user, not the ant forest.
2 逝川长叹
过去,对于容易忽视支撑宝的我来说,很多能量都被朋友抢走了,然后我总是在寻找机会,大规模地找回失去的能量。由于代码的能力有限,它没有得到实施。最近,我非常想做这件事。我叹息不在柴川,让别人羡慕我。
[En]
In the past, for me, who was easy to ignore the support treasure, a lot of energy was snatched by my friends, and then I was always looking for an opportunity to get back the lost energy on a large scale. Due to the limited ability of the code, it had not been implemented. Recently, I wanted to do it very much. I sighed not in Shikawa, and let others envy me.
干货主要有:
① 200 多本 Python 电子书(和经典的书籍)应该有
② Python标准库资料(最全中文版)
③ 项目源码(四五十个有趣且可靠的练手项目及源码)
④ Python基础入门、爬虫、网络开发、大数据分析方面的视频(适合小白学习)
⑤ Python学习路线图(告别不入流的学习)
Python学习交流Q群101677771
3 结果展示
几分钟后再偷一次,赚了很多钱,哈!
[En]
Steal again in a few minutes, make a lot of money, ha!
4 Python——uiautomator2库安装
UiAutomator是Google提供的用来做安卓自动化测试的一个Java库,可以获取屏幕上任意一个APP的任意一个控件属性,并对其进行任意操作。Uiautomator2是在Uiautomator之上的python的接口封装,简单来说 Uiautomator2可以看到手机当前屏幕上有哪些控件,其坐标是啥,并且还可以模拟点击。
下面我们讲讲安装uiautomator2库的方法(我常用的)。
5 Python代码实现
Original: https://www.cnblogs.com/sn5200/p/15959129.html
Author: Python可乐的呀
Title: 利用Python抢回在蚂蚁森林把逝去的能量
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/509890/
转载文章受原作者版权保护。转载请注明原作者出处!