if (!-d $request_filename){ set $rule_0 1$rule_0; } if (!-f $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /index.ph ...
分类:
其他好文 时间:
2021-06-08 22:57:09
阅读次数:
0
test_data = pd.read_csv('news_data.csv', encoding='utf8',header=None) test_data.columns=['id','content'] print(test_data) 主要就是header=None 以及columns ...
分类:
其他好文 时间:
2021-06-08 22:50:08
阅读次数:
0
通过这个小demo主要实现了一个发送消息的界面,该实例只有一个界面,发送方可以实现发送消息,我感觉主要的还是学习了一下消息框图片的缩放。 主要界面如上所示,下面看一下代码。 代码主要有两个xml文件夹,两张修改过的照片,选中照片,右击再点击create 9 patch file 即可进行编辑,具体方 ...
分类:
移动开发 时间:
2021-06-08 22:49:14
阅读次数:
0
转自:C++干货系列 - 知乎 (zhihu.com) 我希望在讲述一个知识点时,能够从容易理解的角度,由浅入深循序渐进,将我学习过程中遇到的问题和疑惑呈现出来,然后以解决问题+探索的形式慢慢铺述开。同时,如果学完一个东西我甚至不知道如何去用,更重要的是该在什么地方用的话——我认为这次学习是失败的— ...
分类:
移动开发 时间:
2021-06-07 21:13:35
阅读次数:
0
一、打开文件 open(path,flag,encoding,[errors]) path:打开路径 flag:打开方式:【读r(read),写w(write),追加a(append)】 encoding:编码方式 errors:错误处理 二、详解flag r:只读。该文件必须已存在。 r+:可读可 ...
分类:
编程语言 时间:
2021-06-07 21:09:28
阅读次数:
0
function getTimes() { var obj_file = document.getElementById("upload"); var content = obj_file.files[0] console.log(content) //获取时长 var url = URL.crea ...
分类:
Web程序 时间:
2021-06-07 20:57:00
阅读次数:
0
2021-06-06T23:44:38.735686-04:00Errors in file /u01/oracle/app/diag/rdbms/slnngk/slnngk1/trace/slnngk1_j000_972.trc:ORA-12012: error on auto execute o ...
分类:
其他好文 时间:
2021-06-07 20:53:48
阅读次数:
0
@staticmethoddef unzip_file(failed_file): zip_file = zipfile.ZipFile(failed_file) print(zip_file) if os.path.isdir(failed_file[0:-20]): pass else: os. ...
分类:
编程语言 时间:
2021-06-07 20:42:48
阅读次数:
0
按照官方设置写的路由,卡在了Cannot read property 'matched' of undefined这个错误问题,查了很多资料才知道,有两上命名是不能改动的,route与router; 在目录新建了文件router.js import Vue from 'vue' import vue ...
分类:
其他好文 时间:
2021-06-07 20:35:33
阅读次数:
0
一、 . 导出JAR file Export-->JAR file,按如下设置后点“Finish” 二、 1.首先打开Android Studio,新建一个项目 2.接下来展开App目录,找到libs文件夹 3.然后将准备好的Jar包拷贝进去, 4.接着右键Jar包,选择Add As Library ...
分类:
移动开发 时间:
2021-06-07 20:35:17
阅读次数:
0