摘要: home_directory = os.environ['DEVTOOLS'] print ("This is only for test string, %s!"%(home_directory)) 阅读全文
posted @ 2017-08-13 15:10 神一样得男人 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 代码中一旦有了中文注释便会报错。 原因 如果文件里有非ASCII字符,需要在第一行或第二行指定编码声明。 解决方法 在第一行或是第二行加入这么一句# -- coding: utf-8 -- 完美解决 阅读全文
posted @ 2017-08-13 15:09 神一样得男人 阅读(2079) 评论(0) 推荐(0) 编辑
摘要: 今天写程序又记不清格式化输出细节了……= =索性整理一下。 python print格式化输出。 1. 打印字符串 效果: 2.打印整数 效果: 3.打印浮点数 效果: 4.打印浮点数(指定保留小数点位数) 效果: 5.指定占位符宽度 效果: 6.指定占位符宽度(左对齐) 效果: 7.指定占位符(只 阅读全文
posted @ 2017-08-13 15:08 神一样得男人 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 方法来自:http://stackoverflow.com/questions/42612468/how-can-i-get-more-information-about-waiting-for-target-device-to-come-online 原因:android studio 下载的li 阅读全文
posted @ 2017-08-01 23:37 神一样得男人 阅读(4892) 评论(0) 推荐(1) 编辑
摘要: Linux下Android studio创建模拟器最后一步报错 报错:An error occurred while creating the AVD. See idea.log for details,解决方法 解决: 阅读全文
posted @ 2017-08-01 21:16 神一样得男人 阅读(610) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-07-29 15:09 神一样得男人 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 它是如何触发的? 这个值的状态是烧录在主板上,无法刷写修改, 从0到1 不可逆,除非替换硬件 If a non-Knox boot loader or kernel has been installed on the device, Knox can no longer guarantee the 阅读全文
posted @ 2017-07-27 10:15 神一样得男人 阅读(1834) 评论(1) 推荐(0) 编辑