09 2021 档案
摘要:思路: 1.从presto 中找出查询慢的sql(>10s) 大约1.4w条,放入mysql 中(具体问什么会放入mysql 后面说该问题) 2.使用Jmeter 连接 presto 进行查询 ,查询sql从mysql中随机获取 ; 遇到的问题: 将sql放入csv文件,presto 的查询sql从
阅读全文
摘要:参考: https://docs.python.org/zh-cn/3/library/pathlib.html#correspondence-to-tools-in-the-os-module Path.parents # 返回所有上级目录的列表 Path.parts # 分割路径 类似os.pa
阅读全文
摘要:1 import tkinter as tk 2 from tkinter import ttk 3 def login(root): 4 login_frame = tk.Frame(root) 5 login_frame.grid(padx=15, pady=15) 6 ttk.Label(lo
阅读全文
摘要:转载:https://blog.csdn.net/hepu8/article/details/90345072 1 # -*- coding: utf-8 -*- 2 import tkinter as tk #装载tkinter模块,用于Python3 3 from tkinter import
阅读全文
摘要:转载:https://blog.csdn.net/hepu8/article/details/89417831 用Tkinter打造GUI开发工具(12)Tkinter小部件的grid布局部件的网格放置grid()方法是使用行列位置的方法放置部件。 grid()方法布局管理器会将控件放置到一个二维的
阅读全文
摘要:转载:https://blog.csdn.net/hepu8/article/details/89115187 用Tkinter打造GUI开发工具(10)Tkinter的Frame框架部件Frame框架部件是Tkinter的容器部件,负责安排其它部件的位置,Frame组件采用在屏幕上的矩形区域组织布
阅读全文
摘要:转载:https://blog.csdn.net/hepu8/article/details/88833912 1 # -*- coding: utf-8 -*- 2 import tkinter as tk #装载tkinter模块,用于Python3 3 import tkinter.font
阅读全文
摘要:本文转载: https://blog.csdn.net/hepu8/article/details/88630979 用Tkinter打造GUI开发工具(6)小部件颜色Tkinter小部件的常用属性是颜色属性,activebackground、activeforeground、background、
阅读全文
摘要:ttk.Frame() code: import tkinter as tkfrom tkinter import ttk window = tk.Tk() RELIEF = ["flat", "raised", "sunken", "solid", "ridge", "groove"] windo
阅读全文
摘要:Welcome to TinyDB! — TinyDB 4.5.1 documentation tinydb:Welcome to TinyDB! — TinyDB 4.5.1 documentation from tinydb import TinyDB, Query db = TinyDB(r'
阅读全文
摘要:grid 学习: (23条消息) tkinter-grid布局详解_渔道的博客-CSDN博客_tkinter (23条消息) Python GUI之tkinter窗口视窗教程大集合(看这篇就够了)_weixin_33739541的博客-CSDN博客
阅读全文
摘要:1 import time 2 import tkinter as tk 3 4 class Clock(tk.Tk): 5 def __init__(self): 6 super().__init__() 7 self.title("") 8 self.time_text="" 9 self.lb
阅读全文
摘要:import tkinter as tk import tkinter as ttk from tkinter import messagebox class BIMView(tk.Frame): def __init__(self, parent, *args, **kwargs): super(
阅读全文
摘要:转载:Python f-string - formatting strings in Python with f-string (zetcode.com) http://zetcode.com/python Python f-string Python f-string is the newest
阅读全文
摘要:需求部分:(21条消息) Python——银行管理系统_LiFaSu的博客-CSDN博客_python银行管理系统 转载于:Python学习笔记-练习编写ATM+购物车(购物商城) - 乀崋 - 博客园 (cnblogs.com) 生成银行卡号:(21条消息) Python-银行卡号生成(符合校验规
阅读全文

浙公网安备 33010602011771号