Test Driven Development In Python Ever Wondered how to do tests in python and what they really are? (Test Driven Development in python), quite hard as some might say. This is your one stop blog in understanding what it is and it’s work-flow. Test driven development is a software development technique where you get to write… Continue Reading Test Driven Development.
If you’ve worked with tkinter’s Text widget, you may notice that when you add many tags to it sometimes things get messed. So let’s dive right into this. We will use syntax highlighting as an example. Explaining our goal Consider we have the following code, from tkinter import * class Files(Frame): def __init__(self, parent): Frame.__init__(self,… Continue Reading Fixing an issue of tkinter tags overlapping
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
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