Skip to content

Instantly share code, notes, and snippets.

View limafresh's full-sized avatar
:octocat:

Maksim limafresh

:octocat:
View GitHub Profile
@nikhilkumarsingh
nikhilkumarsingh / paint.py
Created November 3, 2017 16:26
A simple paint application using tkinter in Python 3
from tkinter import *
from tkinter.colorchooser import askcolor
class Paint(object):
DEFAULT_PEN_SIZE = 5.0
DEFAULT_COLOR = 'black'
def __init__(self):