# @Filename: search_document.py import os,re import shutil import pandas as pd import time class atom_file(object): def re_doucement(self,path,pattern ...
                            
                            
                                分类:
其他好文   时间:
2021-04-06 14:59:44   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                // 判斷是否已登錄授權 module.exports.getDate = getDate function getDate(){ var time = new Date().toLocaleDateString().split('/').join('-') return time; } // 判斷 ...
                            
                            
                                分类:
Web程序   时间:
2021-04-06 14:39:35   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                class MyPromise { constructor(executor) { this.state = 'pending'; this.value = null; try { executor(this.resolve.bind(this),this.reject.bind(this)); } ...
                            
                            
                                分类:
其他好文   时间:
2021-04-06 14:22:04   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                Ubuntu 安装软件源拓展工具: apt -y install software-properties-common apt-transport-https lsb-release ca-certificates 添加 Ond?ej Surý 的 PHP PPA 源,需要按一次回车: add-ap ...
                            
                            
                                分类:
Web程序   时间:
2021-04-06 14:11:12   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    Scrapy 如何控制导出顺序 1. 遇到的问题 在用Scrapy到处item的时候,发现顺序错乱(应该是按照abc的顺序排列的),并不是items.py文件中定义的顺序,那么如何控制呢? 2. fields_to_export 我在查看官网文档的时候找到了这个属性,它的解释是这样的: fields ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:28:39   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    Django的视图 简单的视图 我们将在 myapp 创建一个简单的视图显示: "welcome to yiibai !" 查看如下的视图 ? from django.http import HttpResponse def hello(request): text = """<h1>welcome ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:18:07   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    1、import time 时间分为三种格式 1.1、时间戳 # 时间戳表示的是从1970年1月1日00:00:00开始按秒计算的偏移量。我们运行“type(time.time())”,返回的是float类型。 print(time.time()) # 1617280797.3197777 1.2、 ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:03:53   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    namespace rad{ mt19937_64 R(time(0)); inline int Rand(int l,int r){ uniform_int_distribution<int> distribution(l,r); return distribution(R); } } using ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 12:01:44   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    一、iptables常用命令 #查看已有的防火墙规则链 iptables -L #清空已有的防火墙规则链 iptables -F #把 INPUT 规则链的默认策略设置为拒绝 iptables -P INPUT DROP #向 INPUT 链中添加允许 ICMP 流量进入的策略规则 iptables ...
                            
                            
                                分类:
系统相关   时间:
2021-04-05 11:55:37   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    暴力求解法,直接遍历求最大值 class Solution { public: int maxProfit(vector<int>& prices) { int maxprofit=0; for(int i=0;i<prices.size();i++) { for(int j=i+1;j<price ...
                            
                            
                                分类:
其他好文   时间:
2021-04-05 11:41:37   
                                阅读次数:
0