09 2018 档案

摘要:1、区别 1,adb shell脚本的方式 不但可以在有电脑的情况下使用,通过数据线连接电脑然后adb shell命令,而且还可以打包成app,在手机的终端使用adb shell命令。 2,appium还有 uiautomator2都必须使用电脑,写好的脚本在电脑上执行,电脑相当于服务器端,手机相当 阅读全文
posted @ 2018-09-29 15:35 Gaoyongxian666 阅读(1836) 评论(0) 推荐(0)
摘要:1.环境搭建 注意:如果嫌麻烦,不要装最新的版本,django使用2.0,因为xadmin的官方branch最新就是支持2.0 1.1 python3.6,pycharm,virtualenv的使用 pycharam快捷键 ctrl+左键 shift+左键 shift+tab ctrl + H 全局 阅读全文
posted @ 2018-09-18 21:24 Gaoyongxian666 阅读(160) 评论(0) 推荐(0)
摘要:1.安装python3.6.2 安装依赖 下载python 解压 软链 2.安装MySQL 3.systemctl: command not found systemctl status vsftpd.service-bash: systemctl: command not found centos 阅读全文
posted @ 2018-09-17 21:45 Gaoyongxian666 阅读(276) 评论(0) 推荐(0)
摘要:gyx is not in the sudoers file. This incident will be reported. 1.切换到root用户 su ,如果想要切换回去 exit2.添加sudo文件的写权限,命令是:chmod u+w /etc/sudoers3.编辑sudoers文件vi 阅读全文
posted @ 2018-09-17 21:03 Gaoyongxian666 阅读(2310) 评论(0) 推荐(0)
摘要:需求:科学计算中,往往需要将运算结果(array类型)保存到本地,以便进行后续的数据分析。 解决:直接用numpy中的方法。 1:numpy.savetxt(fname,X):第一个参数为文件名,第二个参数为需要存的数组(一维或者二维)。 2.numpy.loadtxt(fname):将数据读出为a 阅读全文
posted @ 2018-09-17 15:20 Gaoyongxian666 阅读(180) 评论(0) 推荐(0)
摘要:x是一个随机数, 服务器端通过socket程序绑定 监听特定ip 端口 客户端通过socket程序发起请求。连接服务器端, socket可以适用多种协议,udp tcp 阅读全文
posted @ 2018-09-10 17:20 Gaoyongxian666 阅读(178) 评论(0) 推荐(0)