var u = navigator.userAgent; if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {//安卓手机 alert("安卓手机"); } else if (u.indexOf('iPhone') > -1) {// ...
分类:
移动开发 时间:
2020-05-07 19:40:46
阅读次数:
111
import pandas as pd # 设置列对齐 pd.set_option("display.unicode.ambiguous_as_wide",True) pd.set_option("display.unicode.east_asian_width",True) # 读取工号姓名时段交 ...
分类:
编程语言 时间:
2020-05-07 19:35:17
阅读次数:
91
``` # 简单例子 import urllib.request request = urllib.request.Request('https://python.org') response = urllib.request.urlopen(request) # print(response.re... ...
分类:
Web程序 时间:
2020-05-07 15:38:29
阅读次数:
80
最近ios发布新版本系统12.1,随着部分用户的系统更新,一些问题也渐渐暴露出来。。。 公司用户反映微信公众号出现了点击无效的bug!!测试调查发现,只有iphonex、iphone6,ihpone7等部分机型会出现该问题 我当时就是一惊,一般出现在事件上的问题都是疑难杂症。何况是跟键盘相关的。 我 ...
分类:
移动开发 时间:
2020-05-07 13:57:05
阅读次数:
103
Reentrancy (computing) In computing, a computer program or subroutine is called reentrant if multiple invocations can safely run concurrently. The con ...
分类:
其他好文 时间:
2020-05-07 13:30:00
阅读次数:
85
事务 概述 Transactions are atomic units of work that can be committed or rolled back . When a transaction makes multiple changes to the database, either a ...
分类:
数据库 时间:
2020-05-07 01:00:08
阅读次数:
70
没有了with表达,with,exp,body的id换成exp的lambda函数,从而可以没有with来进行实现。即,{with {id exp} body}换成了{{fun {id} body} exp}。 FAE : Concrete syntax FAE : Abstrac syntax pa ...
分类:
其他好文 时间:
2020-05-07 00:26:22
阅读次数:
60
1 import tensorflow as tf 2 import os 3 import numpy as np 4 from matplotlib import pyplot as plt 5 6 7 np.set_printoptions(threshold=np.inf) 8 9 10 m ...
分类:
其他好文 时间:
2020-05-06 23:17:10
阅读次数:
116
去mysql安装下的my.ini文件,右键记事本打开,然后找到 [mysqld] ,在[mysqld]后面添加一行 skip-grant-tables 然后保存然后重启mysqlnet stop mysqlnet start mysql ...
分类:
数据库 时间:
2020-05-06 23:14:09
阅读次数:
122
其中出现了一个错误: SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes 解决办法: 在路径前加 ‘r’ 原因:在Python中 \ 是转义符,\u表示其后是UNICODE编码,因此\User在这里会报错,在字符 ...
分类:
其他好文 时间:
2020-05-06 20:08:31
阅读次数:
87