04 2020 档案
摘要:在操作系统为Redhat 7.4的服务器上的一次Python 3.8.2的安装 1)首先搞明白操作系统自带的python的安装路径:whereis python,可以看到初始的路径在/usr/bin/python。 cd /usr/bin; ll | grep python,python作为符号链接
阅读全文
摘要:import pandas as pd df_policy = pd.read_excel('e:\policy.xlsx') df_sh01 = pd.read_csv('e:\sh01.csv', encoding='gbk') list_not = [] set_found = set() f
阅读全文
摘要:转发自pyformat.info 详细讲述了Python format的新旧用法
阅读全文
摘要:There are two more repeating qualifiers. The question mark character, ?, matches either once or zero times;you can think of it as marking something as
阅读全文
摘要:转发自processing-incoming-request-data-in-flask,文章讲得特别详细 from flask import Flask, request app = Flask(__name__) @app.route('/form-example', methods=['GET
阅读全文