12 2022 档案
摘要:1.纯净水泡,高出参5CM2.一天一夜换一次水3.泡两整天 收拾:去掉牙,清洗4.三天后煮,开锅后大火20分钟,小火40分钟,自然凉,后把水去掉5.放凉水泡两天(中间换一次水)6.用保鲜膜包起来存放,准备食用7.一天一次,或两天一次,不宜太多
阅读全文
摘要:use dentlab ,clear//将dentlab.dta读入内存,如果原内存已经打开其他文件直接清除 list // + +// | name years fulltime recom |// | |// 1. | Y. Don Uflossmore 7.25 part time recom
阅读全文
摘要:use dentistsfdasave mydent ,replace//replace选项如果新形成文件有同名存在直接覆盖 保存为SAS XPORT文件,扩展名为.xpttype mydent.xptlistduplicates list recom//有一变量名为recom,显示其重复的值列出来
阅读全文
摘要:"窗口"-do文件编辑器
阅读全文
摘要:增加一个序列编号,假设这个变量名为seqid,可使用下列命令找出数据中编号不连续的地方sort seqidlist seqid if seqid !=(seqid[_n-1]+1) in 2/L// list//// + +// | name years fulltime recom seqid |
阅读全文
摘要:use dentlab// 保存逗号或制表符分隔符的文件// 打开dentlab.dtaoutsheet using dentists_tab.out ,replace// 将当前文件导出为dentists_tab.out,如果有同名直接覆盖,默认形成制表符分隔文件type dentists_tab
阅读全文
摘要:总结前一天内容:dir 指定.dta 显示指定文件大小,即所需内存大小sep(0)无分隔线 in 5/18显示5-18记录,abb(20)所有变量都不能缩小到小于20个字符sepby(kidid)根据变量kidid分组,每组有分隔线(仍保持原有顺序,只是相邻的kidid相同的集中为一组,并用分隔线分
阅读全文
摘要:1.打开“文件夹选项”2.常规: 打开文件资源管理器时打开:此电脑 “隐私” 选择在”快速访问“中显示最近使用的文件 在”快速访问“中显示常用文件夹 点击”清除“按钮
阅读全文
摘要:1.安装时选择StataMP2.选择 use each user's document folder3.复制 粘贴 覆盖 补丁4.第一次运行:选择“禁止自动更新检查”,取消“在检查更新之前始终提示”5.改变当前目录: 文件--更改工作目录,指定想要改成的文件夹 cd "d:\statashu" 连接
阅读全文
摘要:#include <stdio.h> #include <time.h> // time_t数据类型,日历时间头文件 int main(void) { int year,month,day,n,y,r,zhou; time_t current = time(NULL); // 利用time函数获取日
阅读全文
摘要:#!/usr/bin/env python # encoding: utf-8 import requests, os, platform, time from Crypto.Cipher import AES import multiprocessing from retrying import
阅读全文
摘要:import signal def tt(signum, frame): print('You choose to stop me.') exit() signal.signal(signal.SIGINT, tt) signal.signal(signal.SIGTERM, tt) while 1
阅读全文
摘要:from wxauto import WeChat import pywinauto,time,sys,re,random # 获取当前微信客户端 wx = WeChat() # 获取会话列表 wx.GetSessionList() # 输出当前聊天窗口聊天消息 ##msgs = wx.GetAll
阅读全文
摘要:re.error: unterminated character set at position 12 这很可能是因为元字符“{}、[]、()”。有没有什么正则表达式可以让finditer忽略它? 您必须转义正则表达式中的特殊字符: slice = "this characters \{}, \[]
阅读全文
摘要:.ts文件转.mp3: ffmpeg -i 三生石下.ts -vn -c:a libmp3lame -q:a 0 1.1.mp3 批处理: for %i in (1*.ts) do ffmpeg -i %i -vn -c:a libmp3lame -q:a 0 %i.mp3 ffmpeg -i sr
阅读全文
摘要:mysql出错提示“BLOB/TEXT column used in key specification without a key length”解决办法 Mysql数据库对于BLOB/TEXT这样类型的数据结构只能索引前N个字符。所以这样的数据类型不能作为主键,也不能是UNIQUE的。所以要换成
阅读全文
摘要:检测文件大小: os.path.getsize(filepath)
阅读全文
摘要:>>> aa="abcdde">>> aa.zfill(10)'0000abcdde'>>> aa.zfill(2)'abcdde'>>> aa.zfill(6)'abcdde'>>> aa.rjust(10,"*")'****abcdde'>>> ab="-100.24">>> ab.zfill(
阅读全文
摘要:视频网页相关源代码 url显示:blob:http://www.99xxxxx.com/559dff7f-67f0-4670-9bdb-61c701cf743a大部分网页视频为.m3u8F12检查,搜索.m3u8m3u8又是啥? m3u8格式编码是utf-8格式的m3u文件,m3u文件是记录了一个按
阅读全文
摘要:##for 临时变量 in 序列: ## 重复执行的代码 ## ...... ##else: ## 循环正常结束后要执行的代码 #所谓else指的是循环正常结束后要执行的代码,即如果是bresk终止循环的情况。 #else下方缩进的代码将不执行。 #Break是终止循环,一旦遇到break就代表循环
阅读全文
摘要:#include <stdio.h> int gygb(int m,int n,int x) { int a; if(x==0) { for(a=m;a>=1;a--) if(m%a==0 && n%a==0) return a; return a; } else { for(a=m;a<m*n;a
阅读全文
摘要:#include <stdio.h> #include <string.h> struct data {char name[7];int age;} ab[5]={"张三",10,"李四",11,"张五",12,"李六",13,"陈七",14}; //编程将数组中所有姓张的年龄增加1,姓李的增加2,
阅读全文
摘要:#include <stdio.h> struct data {char name[7];int age;} ab[5]={"张三",10,"李四",11,"张五",12,"李六",13,"陈七",14}; //编程将数组中所有姓张的年龄增加1,姓李的增加2,然后输出各个人的姓名与年龄 //中文字符
阅读全文
摘要:>>> import ast >>> aar='{"ab":1,"ac":2,"ad":3}' >>> aaxx=ast.literal_eval(aar) >>> aaxx {'ab': 1, 'ac': 2, 'ad': 3} >>> >>> aar='{"ab":1,"ac":2,"ad":3
阅读全文
摘要:import threading sem = threading.Semaphore(10)#设置最大线程数 #在线程调用的函数开始设置sem.acquire() #在线程调用的函数最后设置sem.release() def xiazai(iiv,chapter_url_list): sem.acq
阅读全文
摘要:#include <stdio.h> #include <time.h> int main () { time_t tt;//typedef long time_t;time_t实际上是long型,从一个时间点(一般是1970年1月1日0时0分0秒)到当前的秒数。 time(&tt); //获取秒数
阅读全文
摘要:#include <stdio.h> #include <string.h> #include <stdlib.h> char* multiply(char* num1, char* num2) { int la,lb,lc,i,j; int a[2001]={0}; int b[2001]={0}
阅读全文
摘要:#include <stdio.h> #include <math.h> main() { int b,c=0,d,shu[10],f,g=4,a,e; double sum=0; for(a=100;a<=1000000000;a++) { for(e=0;e<10;e++) shu[e]=0;
阅读全文