摘要:
from email.mime.text import MIMEText from email.header import Header from smtplib import SMTP_SSL import urllib.request import time def get_weather_msg(): page = urllib.request.urlopen("http://... 阅读全文
摘要:
#include #include #include int regenerateID() { return 10; } int read_snmpEngine_file(char* file_name, int* snmpEngineBoots, int* snmpEngineID) { FILE* fp; fp = fopen(file_name, "r")... 阅读全文
摘要:
#include #include #include int file_length(char* fileName) { FILE* fp; int file_set_val,file_end_val; fp = fopen(fileName, "r"); if(fp == NULL) { printf("[%s][%s]r... 阅读全文
摘要:
#include #include //#include char* file_name_1 = "D:\\testfile.txt"; char* file_name_2 = "D:\\testfile_1.cfg"; char* file_name_3 = "D:\\testfile_flag.txt"; #define ERROR -1 #define OK 0 int file_... 阅读全文
摘要:
1.文件的读取 外部文件读取控件: 调用函数: 通过加载文件,console.log打印验证,发现: 观察发现加载文件后,控件中FileList对象为加载文件信息。 我们可以新建一个Filereader对象reader。 然后调用FileReader的读取方法readAsText。 对应的操作函数如 阅读全文
摘要:
参考资料: http://web.jobbole.com/89072/ http://www.cnblogs.com/1175429393wljblog/p/5570606.html http://www.cnblogs.com/zftylj/articles/soa04.html 在console 阅读全文
摘要:
常见js函数收集: 转自:http://www.qdfuns.com/notes/36030/2eb2d45cccd4e62020b0a6f0586390af.html 阅读全文
摘要:
将数组转换成json后,存入localStorage https://my.oschina.net/crazymus/blog/371757 http://blog.csdn.net/u011413061/article/details/49999785 时间函数: 阅读全文
摘要:
cookies: http://www.jb51.net/article/14566.htm Web存储 http://www.w3school.com.cn/html5/html_5_webstorage.asp http://blog.csdn.net/renfufei/article/deta 阅读全文
摘要:
echart_test.html demo.js 阅读全文