 python3学习手册b'hello' bytes_like = 'hello'.encode('utf8') encode = base64.b64encode(bytes_like) # base64加密内 容必须为 python3学习手册b'hello' bytes_like = 'hello'.encode('utf8') encode = base64.b64encode(bytes_like) # base64加密内 容必须为- 或 - print(encode) # 返回 b'aGVsbG8=' if __name__ == '__main__': test_base64() tkinter.Entry(window, textvariable=sv) # 创建条目 组件 button1 = tkinter.Button(window, text="点击按键获取文本框内 容", command=lambda: on_button_click(sv)) # 创建按钮组件 entry.pack() button1.pack() window.mainloop() # 运行窗口主循环 0 码力 | 213 页 | 3.53 MB | 1 年前3
共 1 条
- 1














