Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python tkinter arabic

# -*- coding: UTF-8 -*-
from Tkinter import *
root = Tk()
root.title('Alram')
root.geometry("1500x600")
mytext= 'ذكرت تقارير' #Arabic text
msg = Message(root, bg="red", text= mytext, justify='right')
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()
Comment

PREVIOUS NEXT
Code Example
Python :: run in thread decorator 
Python :: python thousands separators 
Python :: pretty size python 
Python :: python cv2 imwrite 
Python :: hstack 
Python :: how to fix valueerror in python 
Python :: subtract number from each element in list python 
Python :: how to create adjacency matrix from adjacency list in python 
Python :: slice notation python 
Python :: numpy rolling average 
Python :: how to add new column in csv file using pandas 
Python :: primary key auto increment python django 
Python :: python random number guessing game 
Python :: pass a list to a function in python 
Python :: dir() in python 
Python :: digit sum codechef 
Python :: Active Voice Python 
Python :: django get_user_model() function 
Python :: notna pandas 
Python :: pandas print tabulate no index 
Python :: python print without new lines 
Python :: how to encrypt text in python 
Python :: py foreach 
Python :: change float column to percentage python 
Python :: python merge list of lists 
Python :: python print format 
Python :: use the index of a dataframe for another dataframe 
Python :: python create array 
Python :: count elements in columns pandas 
Python :: python test if list of dicts has key 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =