install $ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl py2.7: https://storage.googleapi ...
分类:
其他好文 时间:
2020-06-25 19:22:42
阅读次数:
134
import React from "react"; import ReactDOM from "react-dom" import './index.css'; import * as serviceWorker from './serviceWorker'; //jsx 需要符合xml规范 // ...
分类:
Web程序 时间:
2020-06-25 19:17:10
阅读次数:
57
python 解释器: 1、Python 命令行参数 --官方文档:https://docs.python.org/zh-cn/3/using/cmdline.html#options-you-shouldn-t-use 2、在Windows上使用 Python :https://docs.pyth ...
分类:
编程语言 时间:
2020-06-25 19:13:29
阅读次数:
113
由于在ubuntu环境下,将python做与python3.6做了软链接(ln -s python python3.6),并且pip也被我做了软链接,所以导致用pip安装virtualenvwrapper之后,在source启动virtualenvwrapper.sh时以及workon 虚拟环境时总 ...
分类:
移动开发 时间:
2020-06-25 19:10:16
阅读次数:
77
已知p,q,e求d p=473398607161 q=4511491 e=17 n = (p-1) * (q-1) def extendedEuclid(a, b): if b == 0: return 1, 0 else: x, y= extendedEuclid(b, a % b) x, y = ...
分类:
其他好文 时间:
2020-06-25 19:08:44
阅读次数:
66
主要区别: 'app': 'C:\\Users\\del\\Desktop\\b\\jsq.apk', 安装了就不需要路径,没有安装就需要路径 一、系统未按装待测app # C:\Users\del>adb shell dumpsys window w |findstr \/ |findstr na ...
分类:
移动开发 时间:
2020-06-25 17:56:52
阅读次数:
109
报表服务器配置管理器-》更改数据库-》连接新数据库-》报错:无法连接到服务器。在SQL Server建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且SQL Server已配置为允许远程连接(Provider: Named Pipes Provider, ...
分类:
数据库 时间:
2020-06-25 17:56:21
阅读次数:
252
python filecmp ilecmp可以实现文件,目录,遍历子目录的差异对比功能。 自带filecmp模块,无需安装。 常用方法说明 filecmp提供3个操作方法,cmp(单文件对比),cmpfile(多文件对比),dircmp(目录对比). 单文件对比,filecmp.cmp(f1,f2[ ...
分类:
编程语言 时间:
2020-06-25 17:55:51
阅读次数:
59
前言 在 django 的 User 表里面有个 is_active 字段可以判断用户是否是激活状态。 使用 authenticate 校验登录的时候 is_active 是不生效的。 authenticate 登录 create_user 创建新用户的时候 is_active 默认是1,也就是Tr ...
分类:
编程语言 时间:
2020-06-25 17:54:10
阅读次数:
69
time模块几个常用的时间函数 1、time()函数 返回当前时间的时间戳,从1970年1月1日00时00分00秒到现在的浮点秒数 time1 = time.time() 返回值:1593069205.7103553 类型:<class 'float'> 2、localtime([secs])函数 ...
分类:
编程语言 时间:
2020-06-25 17:49:42
阅读次数:
80