a hard question in matplotlib is to annotate each point with a text or label. answers range from ax.annotate to some more weird stuffs. fortunately, the answer is a simple one! this question poses itself quite often in scatter plots the key without beating around the bush, the answer is using pyplot.text found here demo code… Continue Reading matplotlib scatter plot annotate / set text at / label each point
scope by indentation is an alternative to curly braces and is used by languages like python and pug. it certainly is more human-friendly as experience gathered tends to produce more and more friendly syntaxes (like livecode). we’ll in this post build an indentation analyser that correctly tells us when we mixed indentation level; just like python… Continue Reading building an indentation lexer in python – a tutorial
we are planning to introduce exercises in tutorials, discussions in comments !
due to many tech entusiasts and developpers being on medium, we have been recommended to post on Medium. Fortunately medium.com has an import function to import articles. we can be found here : https://firstname.lastname@example.org
we have drafted our data usage policy and taken appropriate measures to ensure transparency. it can be found here
knowing how to build a lexer allows you to extend your applications and opens up a whole new world. You can write your own DSLs or your own language or just better separate symbols: in other words, it allows you to have more control over a string what is a lexer? from user input to… Continue Reading building a lexer in python – a tutorial
What is greenBerry? greenBerry (shortly gb) is a brand new one-line statement programming language. It was started as a fun project and it doesn’t have much functionality or practical purposes yet, but we have an infinite look ahead for it. On the technical side it is based on Python and for now you need to… Continue Reading greenBerry – a new programming language
we have the pleasure to announce that oasis solutions has accepted to provide us with expertise for our integrations, in the long run, to transform this blog into one of the cornerstones of the Python world to make python a truly universal language!
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
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