上一页 1 ··· 7 8 9 10 11
摘要: 方法一: 通常使用socket.gethostbyname()方法即可获取本机IP地址,但有时候获取不到(比如没有正确设置主机名称),示例代码如下: 亲测:如果使用手机时,地址为127.0.0.1,如果使用电脑(windows)无线连接时,地址为外网地址。 方法二: 在windows和Linux系统 阅读全文
posted @ 2018-08-10 19:56 小呆丶 阅读(5126) 评论(0) 推荐(1) 编辑
摘要: 之前在网上找了各种资料,cmd安装yaml,网上大部分写的都是pip install yaml 可是,执行完就变成Could not find a version that satisfies the requirement yaml <from versions:>No matching dist 阅读全文
posted @ 2018-07-05 09:42 小呆丶 阅读(7876) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11