我正在创建一个带有文本的窗口。我希望在文本中使用阿拉伯语:
我想用阿拉伯语替换消息“主界面已经崩溃,请联系管理员。” 有人可以帮忙吗?
root = Tk()
root.title('Alram')
root.geometry("1500x600")
msg = Message(root, bg="red", text='The main interface is down, please contact your administrator')
msg.config(font=('times', 72, 'bold'))
exit_button = Button(root, width=10, text='Exit', command=root.destroy)
exit_button.pack()
msg.pack(fill=X)
root.mainloop()
我想用阿拉伯语替换消息“主界面已经崩溃,请联系管理员。” 有人可以帮忙吗?