11 2018 档案

python线程池
摘要:https://blog.csdn.net/qq_33961117/article/details/82587873#!/usr/bin/python # -*- coding: utf-8 -*- from concurrent.futures import ThreadPoolExecutor from threading import current_thread import time ... 阅读全文

posted @ 2018-11-30 17:49 听哥哥的话 阅读(136) 评论(0) 推荐(0)

python 读取xml
摘要:#!/usr/bin/python # -*- coding: UTF-8 -*- from xml.dom.minidom import parse import xml.dom.minidom # 使用minidom解析器打开 XML 文档 DOMTree = xml.dom.minidom.parse("movies.xml") collection = DOMTree.documen... 阅读全文

posted @ 2018-11-29 16:36 听哥哥的话 阅读(165) 评论(0) 推荐(0)

python 字典遍历
摘要:dic1={"name":"kxb","age":28}for k,v in dic1.items(): print(k+",,,,"+str(v))for v in dic1.values(): print("v...."+str(v))for k in dic1.keys(): print("k 阅读全文

posted @ 2018-11-29 16:14 听哥哥的话 阅读(152) 评论(0) 推荐(0)

python 字符串占位符的使用
摘要:name2='我是{} 我的专业是 {}'.format('张三','计算机科学技术')print(name2) 阅读全文

posted @ 2018-11-29 16:06 听哥哥的话 阅读(1154) 评论(0) 推荐(0)

python SQLAlchemy对象映射和json.dumps无法序列化问题解决
摘要:from flask import Flask from flask_sqlalchemy import SQLAlchemy import Config2 import pymysql import numpy as np import json pymysql.install_as_MySQLdb() app = Flask(__name__) app.config.from_object... 阅读全文

posted @ 2018-11-27 22:19 听哥哥的话 阅读(837) 评论(0) 推荐(0)

spring colud 博客
摘要:https://blog.csdn.net/forezp/article/details/70148833 阅读全文

posted @ 2018-11-26 18:13 听哥哥的话 阅读(112) 评论(0) 推荐(0)

PDF下载网
摘要:http://www.java1234.com/a/javabook/javaweb/2018/1103/12297.html 阅读全文

posted @ 2018-11-26 13:53 听哥哥的话 阅读(75) 评论(0) 推荐(0)

flask部署
摘要:https://blog.csdn.net/zhuod/article/details/77850783 阅读全文

posted @ 2018-11-21 00:32 听哥哥的话 阅读(83) 评论(0) 推荐(0)

k8s中文网
摘要:https://www.kubernetes.org.cn/docs 阅读全文

posted @ 2018-11-19 13:57 听哥哥的话 阅读(108) 评论(0) 推荐(0)

python range用法
摘要:1. range(n) 相当于枚举 从0<=i<n的整数 增量为1 for i in range(4): print(i) 结果:0 1 2 3 2. range(5,10) 相当于枚举 5<=i<n的整数 增量为1 for in in range(5,10): print(i) 结果: 5 6 7 阅读全文

posted @ 2018-11-17 12:47 听哥哥的话 阅读(571) 评论(0) 推荐(0)

python 日志滚动 分文件
摘要:import logging from logging.handlers import RotatingFileHandler import datetime import os def main(): logger = logging.getLogger(__name__) logger.setLevel(level=logging.INFO) # 定义一个Rota... 阅读全文

posted @ 2018-11-16 17:54 听哥哥的话 阅读(284) 评论(0) 推荐(0)

python 语法
摘要:mdf_itm_list = [{"name": "n1", "age": 1}, {"name": "n2", "age": 2}, {"name": "n3", "age": 3}, {"name": "n4", "age": 4}, ] obj_fs = [mdf_itm_list[i] for i in range(len(mdf_itm_list) 阅读全文

posted @ 2018-11-16 10:22 听哥哥的话 阅读(103) 评论(0) 推荐(0)

flask 中文编码解码
摘要:process.append("中文") print(process) # return Response(json.dumps(process), mimetype='application/json') print(json.dumps(process)) u8_encode = json.dumps(proces... 阅读全文

posted @ 2018-11-15 19:01 听哥哥的话 阅读(544) 评论(0) 推荐(0)

python的杨辉三角
摘要:# 1 # / \ # 1 1 # / \ / \ # 1 2 1 # / \ / \ / \ # 1 3 3 1 # / \ / \ / \ / \ # 1 4 6 4 1 # / \ / \ / \ / \ / \ # 1 5 10 ... 阅读全文

posted @ 2018-11-15 10:06 听哥哥的话 阅读(147) 评论(0) 推荐(0)

mysql8.0.4以后修改密码方式变更
摘要:https://blog.csdn.net/qq_38265784/article/details/80915098 use mysql; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码'; FL 阅读全文

posted @ 2018-11-11 16:31 听哥哥的话 阅读(207) 评论(0) 推荐(0)

flask学习视频
摘要:https://study.163.com/course/courseMain.htm?courseId=1004091002 主要 https://www.cnblogs.com/senlinyang/p/8341774.html 博客 1 .添加两个环境变量到path c:\Anaconda3 阅读全文

posted @ 2018-11-06 22:34 听哥哥的话 阅读(179) 评论(0) 推荐(0)

oralce的lag和lead函数
摘要:https://www.cnblogs.com/always-online/p/5010185.html 阅读全文

posted @ 2018-11-06 13:23 听哥哥的话 阅读(119) 评论(0) 推荐(0)

导航