Viewing posts tagged Python
Let us take a scenario where I want to get the list of even numbers from a given range of numbers. We can get the list of even numbers using the for loop as shown below.
Some of us are not aware of the else clause after the for and while loops in python. Take this example
A decorator is a wonderful ingredient with which you can add more generic flavor to one or more functions. Using decorator, you can implement authentication, authorization, input validation, etc.
This article is not to discuss the strenghts and weaknesses of both python and java, rather it is to explain and then realize how powerful these two languages are.
Before we start with models let's understand how to setup database to work with Django. Django comes pre bundled and ready to work with SQLite database, which for development and for very small lightweight websites would be enough to wor with, but if the scale of the website or the user-base of the website is even moderately high, SQLite is definitely not enough.
We develop web applications to our customers using python/django/angular.
Contact us at hello@cowhite.com