What is Frappe web framework and the reasons to choose over Django

[official docs] Frappe is a full-stack, batteries-included, web framework written in Python and Javascript. It is the framework that powers ERPNext. It is pretty generic and can be used to build database-driven apps. Frappe framework is more like no/less code, configuration oriented framework. It is a Meta-data driven web framework written in Python and Javascript with MariaDB as its database. The main key point to understand when looking at Frappe is how the database is declared and model-view building happens internally....

February 14, 2020 · 3 min · 452 words · Me

Understanding Python Bytecode

Hello World! That’s our favorite phrase to print every time we start learning a new programming language, but here I try to explain how the interpreter understands the code. Python compiles the program to the bytecode which is an internal representation of python to the interpreter. Consider the following code which takes two function arguments that returns the multiplication of those two values, def multiplication(value1, value2): multiplied_value = value1 * value2 return multiplied_value The raw compiled byte code of the function gives,...

December 20, 2019 · 4 min · 761 words · Me