调试python程序
简书链接:调试python程序文章字数:103,阅读全文大约需要1分钟我用的还是俄罗斯的开发工具,玩起来还不错,速度贼快,当然可能window比较卡.我现在不敢用window搞开发了,效率真的太低了感觉和java一样爽,可以看到堆栈 入口也是从main进来的
作用域界限与条件分支
简书链接:作用域界限与条件分支文章字数:302,阅读全文大约需要1分钟 12345print("ffff")for i in range(1,1000): print(i);print "dddfffffffd\t"; 和 1234print("ffff")for i in range(1,1000): print(i);print "dddfffffffd\t"; 和java不同,它没有括号 再来一个 123456789if(a ==2): print("you enter key a")elif (a==3): print "you enter 3"elif(a==5): print "fff" print "ddddd"else: print("unknown...
pythonSyntaxErrorNonASCIIcharacter
简书链接:pythonSyntaxErrorNonASCIIcharacter文章字数:59,阅读全文大约需要1分钟 1234Users/aaa/PycharmProjects/myphton/demo.py", line 10SyntaxError: Non-ASCII character '\xe8' in file /Users/aaa/PycharmProjects/myphton/demo.py on line 10, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for detailsProcess finished with exit code 1 原因,python里面出现了中文字符,但是却没有告诉解释器你这代码到底是什么编码所以解决方法是加上 12#coding:utf-8 规范 1# !/usr/bin/python
python超级简单的类型转换
简书链接:python超级简单的类型转换文章字数:49,阅读全文大约需要1分钟 123a = int(raw_input("请输入一个整数"))print("你输入的是:"+str(a)) 如果a想要拼接,但是不进行类型转换那么是如下错误: 1234567raceback (most recent call last): File "/Users/aaa/PycharmProjects/myphton/demo.py", line 12, in <module> print("你输入的是:"+a)TypeError: cannot concatenate 'str' and 'int' objectsProcess finished with exit code 1
AproblemoccurredconfiguringprojectqssqjavalangNullPointe
简书链接:AproblemoccurredconfiguringprojectqssqjavalangNullPointe文章字数:195,阅读全文大约需要1分钟 123456789101112131415161718The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.NDK is missing a "platforms" directory.If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to D:\env\android_sdk\ndk-bundle.If you are not using NDK, unset the...
牛人可以看看
简书链接:牛人可以看看文章字数:1,阅读全文大约需要1分钟java.lang.RuntimeException: Failed to initialize display event receiver. sta
as导入eclipse出现错误Thereareunrecoverableerrorswhichmustbecorrected
简书链接:as导入eclipse出现错误Thereareunrecoverableerrorswhichmustbecorrected文章字数:66,阅读全文大约需要1分钟 1"There are unrecoverable errors which must be corrected first" 打开这个项目的project.properties看看里面的模块是否存在,不存在要么删除要么移动构建成一样就ok了。 12android.library.reference.1=../xxxWidget 表示当前配置文件的上级目录,也就是这个工程目录同级。
Failure26PackagesdkemonewtargetSDK18doesntsupportruntim
简书链接:Failure26PackagesdkemonewtargetSDK18doesntsupportruntim文章字数:20,阅读全文大约需要1分钟 12Failure [-26: Package xxxx new target SDK 18 doesn't support runtime permissions but the old target SDK 24 does.] 卸载手机上原来的即可
借助androiduiautomator情迁工具箱自动朗读实现语音红包自动发送语音自动领取
简书链接:借助androiduiautomator情迁工具箱自动朗读实现语音红包自动发送语音自动领取文章字数:114,阅读全文大约需要1分钟如果不借助自动化,目前是需要手动点开红包,然后按住不放等待播放完毕才行. 目前就完成了详情界面的语音红包点击,而且无法判断是否领取过了.因为无法取出信息,这是uiautomator的缺陷. qqlist 做了处理,不能通过寻找文本进行判断也不能寻找父节点.所以电脑版本的还是缺陷太多.
Android基于AndroidStudio的测试研究自动点击实现解锁然后进入计算器输入我的QQ号码编写外挂如此简单
简书链接:Android基于AndroidStudio的测试研究自动点击实现解锁然后进入计算器输入我的QQ号码编写外挂如此简单文章字数:1215,阅读全文大约需要4分钟学完本篇文章,你会感觉你很想写自动点击方式的外挂了,就是这么爽,这么简单,锁屏 点击 都那么easy. 123456789101112dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation...