Post under tag: "python"

How to create web app with Django: Part 1

By: renjithsraj ● at May 18, 2020, 12:56 p.m. ● Posted under: #python, #django

In this article we going to cover up, How to create a web application with the Django framework. Using this tutorial we going to create blog applications and the same deployed in the Heroku hosting platform. What is Django? Django is a high-level Python Web framework that encourages rapid development and …

Read More →

What are Python Decorators?

By: renjithsraj ● at April 13, 2020, 3:33 p.m. ● Posted under: #python

In this tutorial, we are going to see Decorators in Python, While coding we had experienced many decorators in real life with python,  Python comes with several built-in decorators. I feel The main three are @classmethod, @staticmethod, @property.  Now we can see what is a decorator. Decorator is a programming pattern where you wrap something in …

Read More →

Differance between Shallow copy and Deepcopy

By: renjithsraj ● at April 8, 2020, 10:56 p.m. ● Posted under: #python

In this article, we going to see the difference between shallow copy and deep copy,  this important question for Python interviews. When I start python I thought we are using = to copy the objects,  but when I go deep I got that operator is not copying objects it's just …

Read More →

Comparision List and Tuple in Python

By: renjithsraj ● at April 5, 2020, 3:35 p.m. ● Posted under: #python

In this tutorial we going to cover up the deep understanding about the list and tuple data type in Python, Please note that In Python interviews without fail the interviewer will ask the question regarding in the difference between List and Tuple, once you read this article you will the knowledge …

Read More →

Python-Django Interview Questions

By: renjithsraj ● at April 5, 2020, 3:29 p.m. ● Posted under: #python

In this tutorial, we going to cover up the latest questions about Django & Python, try to find the answers for the following questions. Let's start with Python then Django. Python Interview Questions What are the principles of Python? What is PEP & PEP-8 mean? List and Tuple differences? which …

Read More →

What is generator in Python

By: renjithsraj ● at April 1, 2020, 3:58 p.m. ● Posted under: #python, #python-generators

In this tutorial, we going to cover-up What are generators in Python.  Basically Generator is a function that will produce a sequence of elements instead of a single value. It doe's with yield the statement, That means The generator function doesn't have a return statement. If the function contains yield the statement …

Read More →

What are Iterators in Python.

By: renjithsraj ● at March 31, 2020, 12:40 p.m. ● Posted under: #python, #python-generators

What is Iterator I hope from the name itself will get to know iterator is something related to for loop(normally we used for iterate objects) right, correct Iterator in Python refers to an object that we can iterate. The iterator consists of the countable number of values and we can …

Read More →