基本指令 点击查看详细内容 阅读下文代码前基本须知 LOAD_CONST 加载常量 1 STORE_NAME 将变量储存为常量值 a=1 局部变量 STORE_GLOBAL同上功能 全局变量 BUILD_LIST 生成list BUILD_MAP声明字典元素数量 STORE_MAP生成键值对 并储存 ...
分类:
其他好文 时间:
2020-04-22 18:19:16
阅读次数:
81
本篇内容很全,基本覆盖了各大公司,可以为面试做好准备. 因篇幅问题,这里只展示了问题,可以看看自己掌握的怎么样,需要完整面试题答案可以文末获取: 【目录】 1. 阿里篇 2. 华为篇 3. 百度篇 4. 腾讯篇 5. 美团篇 6. 头条篇 7. 滴滴篇 8. 京东篇 9. MySQL篇 10. Re ...
分类:
编程语言 时间:
2020-04-22 13:00:05
阅读次数:
69
def clean(string): pattern = re.compile(r'<[^>]+>', re.S) string = pattern.sub('', string) string = string.replace('\n', ' ').replace('\r', ' ').repla ...
分类:
编程语言 时间:
2020-04-21 13:23:48
阅读次数:
79
ps -ef|grep linux中的ps命令是Process Status的缩写,是常用的进程查看命令 参数含义: -e 显示所有进程 -f 全格式 ps -ef即以全格式显示所有进程 grep (global search regular expression(RE) and print out ...
分类:
系统相关 时间:
2020-04-21 13:11:42
阅读次数:
94
1 # -*- coding: utf-8 -*- 2 """ 3 Created on Mon Apr 20 22:51:44 2020 4 5 @author: 49594 6 """ 7 8 import re 9 a = input() 10 b = input() 11 m = re.se ...
分类:
其他好文 时间:
2020-04-21 09:36:40
阅读次数:
87
[TOC] MIPS架构 选择了jeb mips 下载地址https://www.pnfsoftware.com/jeb/demomips 找到main函数,tab键反汇编 解题脚本 ...
分类:
其他好文 时间:
2020-04-21 09:35:28
阅读次数:
147
1.定义 正则表达式使用某种预定义的模式去匹配一类具有共同特征的字符串,主要用于处理字符串,可以快速、准确地完成复杂的查找、替换等处理要求。 re模块提供了正则表达式操作所需要的的功能。 2.正则表达式语法 3.re模块主要方法 4.使用正则表达式对象 首先使用re模块的compile()方法将正则 ...
分类:
编程语言 时间:
2020-04-21 09:20:13
阅读次数:
66
后台 1 public void DownFiletemple(string filepath) 2 { 3 FileInfo fileInfo = new FileInfo(filepath); 4 Response.Clear(); 5 Response.ClearContent(); 6 Re ...
分类:
其他好文 时间:
2020-04-20 18:52:45
阅读次数:
65
importrequestsimportosimportjsonimporttimeimportrefromretryingimportretry"""爬虫*sixroom"""defchange_title(file):"""替换非法字符"""pattern=re.compile(r"[\/\\\:\*\?\"\<\>\|]")file_name=re.sub(pattern,"_"
分类:
Web程序 时间:
2020-04-20 18:48:35
阅读次数:
77
1. Maven依赖 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis</artifactId> </dependency> 2. StringRedisTemplate与Re ...
分类:
其他好文 时间:
2020-04-20 13:59:03
阅读次数:
64