上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 参考: 测试官方文档: https://developer.android.com/training/testing?hl=zh-cn 附带app打包发布: https://blog.csdn.net/qq_38436214/article/details/112288954 测试示例:【注意 引入 阅读全文
posted @ 2021-11-30 17:55 小毛编 阅读(175) 评论(0) 推荐(0)
摘要: bash命令行登录远程服务器,python项目部署与运行 1、登录远程服务器 eg: ssh -p [端口] [用户]@[ip] --输入密码 2、进入项目目录:cd xxx 以下是基于已经安装了python,及配置好 3、创建虚拟环境: pip install --user virtualenvw 阅读全文
posted @ 2021-11-18 15:02 小毛编 阅读(428) 评论(0) 推荐(0)
摘要: 1、zip(list1, list2) >>> questions = ['name', 'quest', 'favorite color'] >>> answers = ['lancelot', 'the holy grail', 'blue'] >>> for q, a in zip(quest 阅读全文
posted @ 2021-11-11 11:02 小毛编 阅读(55) 评论(0) 推荐(0)
摘要: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\\** 阅读全文
posted @ 2021-11-09 18:10 小毛编 阅读(1484) 评论(0) 推荐(0)
摘要: 1 模块搜索路径:https://docs.python.org/zh-cn/3.6/tutorial/modules.html 当一个名为 spam 的模块被导入的时候,解释器首先寻找具有该名称的内置模块。如果没有找到,然后解释器从 sys.path 变量给出的目录列表里寻找名为 spam.py  阅读全文
posted @ 2021-11-08 09:30 小毛编 阅读(424) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/qq_41647999/article/details/83445878 https://blog.csdn.net/qq_37924905/article/details/118905869 https://m.w3cschool.cn/inte 阅读全文
posted @ 2021-09-23 16:41 小毛编 阅读(290) 评论(0) 推荐(0)
摘要: jdwp transport dt_socket failed to initialize transport_init(510) 某些程序,增加了环境变量JAVA_TOOL_OPTIONS 导致java无法正常启动 环境变量去掉JAVA_TOOL_OPTIONS 即可 阅读全文
posted @ 2021-09-18 17:52 小毛编 阅读(371) 评论(0) 推荐(0)
摘要: 1、新建虚拟环境 :https://www.cnblogs.com/banyanisdora/p/14270327.html 2、安装各类依赖包: pip install -r requirements.txt 【输出用这个 pip freeze > requirements.txt】 3、打包 p 阅读全文
posted @ 2021-09-18 09:12 小毛编 阅读(50) 评论(0) 推荐(0)
摘要: import binascii import sys """ python3: python3默认编码为unicode,由str类型进行表示。二进制数据使用byte类型表示 字符串通过编码转换成字节码,字节码通过解码成为字符串 encode:str –> bytes decode:bytes – > 阅读全文
posted @ 2021-09-09 12:23 小毛编 阅读(379) 评论(0) 推荐(0)
摘要: 通常socket都有 超时、noblock相关用法,zmq基于socket也带有类似用法如下 ## 防止无限等待 参考 https://www.codenong.com/7538988/ 1、设置超时 client_receiver.RCVTIMEO = 1000 # in milliseconds 阅读全文
posted @ 2021-09-07 10:18 小毛编 阅读(524) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页