import tkinter as tk
时间: 2023-09-10 07:04:36 浏览: 118
import tkinter as tk是导入tkinter库并将其重命名为tk的常见做法。这样可以方便地在代码中使用tkinter库的功能。\[1\]
#### 引用[.reference_title]
- *1* [python之Tkinter详解](https://blog.csdn.net/weixin_43626082/article/details/125189531)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Python学习(tkinter系列)](https://blog.csdn.net/y_j_6666/article/details/104308358)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文