hello world lets make editor in python and enjoy from tkinter import * import os import tkinter.filedialog from tkinter import messagebox from tkinter.colorchooser import askcolor import datetime import webbrowser from tkinter.filedialog import askopenfilename, asksaveasfilename filename=None def line(): lin = "_" * 60 text.insert(INSERT,lin) def date(): data = datetime.date.today() text.insert(INSERT,data) def normal(): text.config(font = ("Arial", 10)) def bold(): text.config(font = ("Arial", 10, "bold")) def underline(): text.config(font = ("Arial", 10, "underline")) def italic(): text.config(font = ("Arial",10,"italic")) def font(): (triple,color) = askcolor() if color: text.config(foreground=color) def kill(): ...
Posts
Showing posts from August, 2017