Text editor created in Python