Working with dict data type in python

Working with dict data type in python

Lets start working with dict data type in python. Dictionary is collection of unordered set of key, value pairs.  We can create an empty dictionary with the empty braces {}.  dict data type in python is one of the most used datatypes in python builtin data types. We can only able t...

Read more

working with classes and objects in python

In this article we will learn how to work with classes and objects in python. Python classes are mainly used for code reusability and better maintainability. You might have a question that we have a functions why do we need classes ? that's a good question. By using functions we can reuse the fun...

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