Create Text Editor Using Python