working with functions in python

working with functions in python

A function in python defined as a a group of statements that required to perform a task which takes required inputs and returns the output. We have two types of functions 1. built-in functions and 2. user defined functions.  We have many built-in functions in python. You can see the list of ...

Read more

working with while loop in python

working with while loop in python

Let's start working with while loop in python. While loop is used to execute a block of code until certain condition is met. we can also terminate it before using the python keyword "break" If condition is not met then it will run for infinite number of times and we should avoid it. Unlike for lo...

Read more

understanding of HTTP protocol

understanding of HTTP protocol

Before talking about HTTP Protocol, let's talk about "Protocol". A protocol is a set rules to be followed to communicate with one another. Let's take two persons say A, B. Person A lives in USA and person B lives in India and he doesn't know english. Person A sent a message to B. Inorder to under...

Read more

understanding Model View Controller(MVC) in Django

understanding Model View Controller(MVC) in Django

What is Model View Controller? We call it in short MVC. It's a software architecture pattern that is used to devide the complex software into simple parts based on the functionality. When we use Google for web search, we simply open Google and search for "food" let's say. Then google will show us...

Read more

usage of property decorator in python

usage of property decorator in python

In this article we will learn about usage of property decorator in python. "property" is a built-in decorator in python. "property" is mostly used with classes. The decorator "property" makes the method that acts like an attribute to the python class. "property"  is a callable object in...

Read more

deploy django app with apache server on ubuntu

deploy django app with apache server on ubuntu

In this article we will learn about how to deploy django app on apache server. Apache server is a free and open-source HTTP server that is free to use. It is a cross platform web-server, It support's most of the operating systems like windows, linux, Mac, etc. Apache server is not intended to use...

Read more

Working with numbers in Python

Working with numbers in Python

Python has four basic number types. 1. Integers(int),  2. Floating point numbers(float),  3. Long integers(long),  4. Complex Numbers(complex). All these numeric types are immutable data types, it means changing the value of a numeric data type will results in a newly cre...

Read more
Blog Archive