python3学习手册source ~/.bashrc #之后就可以正常使用conda命令了 # >>> conda ini�alize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/root/anaconda3/bin/conda' 'shell.bash' 'hook' 2> tkinter from PIL import Image, ImageTk import cv2 def test_tk(): window = tkinter.Tk() window.title("pillow") # 创建一个 Tkinter 界面 canvas = tkinter.Canvas(window, width=640, height=480) canvas openpyxl.Workbook() # 创建一个工作簿对象 sheet1 = workbook.active # 获取当前激活的工作表对象 sheet1.title = "表格1" workbook.create_sheet(index=1, title="表格2") # 创建表格, index从0开始 data_list1 = ['name', 'age', 'class', 'weight', 'address'0 码力 | 213 页 | 3.53 MB | 1 年前3
共 1 条
- 1













