# How to set the tab size in Text widget in Tkinter in Python 
 # Import Module
from tkinter import *
  
# Create Object
root = Tk()
  
# Set Geometry
root.geometry("400x400")
  
# Execute Tkinter
root.mainloop()