摘要:
1、Tk对象的常用方法 from tkinter import * win = Tk() win.geometry('300x300+500+100') # 设置宽度300,高度300,距离左上角x轴距离为500,y轴距离为100 win.attributes('-alpha', '0.9') # 阅读全文
posted @ 2021-06-02 17:18
南风丶轻语
阅读(1904)
评论(0)
推荐(0)
摘要:
0、今日笔记 在Python27中以及之后版本,新增了一种格式化字符串的函数,通过使用大括号 {} 和冒号 : 来实现以前的百分号 % 的写法。 1、默认按顺序填充,每个 {} 填充一个变量 hello = 'hello' world = 'world' hello_world = '{} {}'. 阅读全文
posted @ 2021-06-02 11:07
南风丶轻语
阅读(1756)
评论(0)
推荐(0)

浙公网安备 33010602011771号