a fix to tkinter output not showing

tkinter is fine once you understand it. let us see what problem user vikas was having and how to fix it! the fix a basic tkinter skeleton is import tkinter as tk root = tk.Tk() root.mainloop() now we see that the user has it in place, so no output means the label he defined is not showing. now… Continue Reading a fix to tkinter output not showing

processing.py : trails using oop

in this post, we’ll explain how to add trails using an oop approach. a trail is basically objects that appear where the primary objects passed in nature, trails are made by particles of the primary object but in programming, one simple approach is to draw other shapes albeit more small the full code there is the full processing.py code : # github.com/abdur-rahmaanj class MouseTrail:… Continue Reading processing.py : trails using oop

classes and methods in python

Ever wondered how to create classes and methods in python? Then this is what you’ve been looking for. Explanation suites all languages but syntax is in python. OOP is really important in programming, eases out programming and ‘krafting’ out solutions unlike functional programming. Object-oriented programming (OOP) is a programming language model organized around objects rather… Continue Reading classes and methods in python

tkinter : tackling import for python 2 and 3

tkinter is the integrated GUI package in python. It has had an import naming change in python 3. This is the main hindrance in making tkinter codes run on python 3 or vice versa. fortunately the fix is a simple one Some syntax in python 2 we imported as : import Tkinter and in python 3… Continue Reading tkinter : tackling import for python 2 and 3