python memory management - memory allocation and garbage collection

python memory management - memory allocation and garbage collection

Memory allocation in python

In python everything is considered as an object. In python we do not have variables  instead python has names. When we declare a name/variable in python it stores the name in the memory. Every python name/variable points to its reference in the memory a...

Read more

signup or sign-in using facebook to django application

signup or sign-in using facebook to django application

Nowadays most of the users are having the facebook account. Registration/Login will take the time fill the form and submit to create or login to our website. Adding the functionality to login/signup with facebook makes it very easy to login or to register to our website.

There are manythird p...

Read more

signup or sign-in using google to django application

Nowadays most of the users are having the facebook account. Registration/Login will take the time fill the form and submit to create or login to our website. Adding the functionality to login/signup with google makes it very easy to login or to register to our website.

There are manythird par...

Read more

understanding of python slice notation

understanding of python slice notation

Lets start with understanding of python slice notation. We can access element in python lists/iterables by indexing. Slicing in python lists is defined as taking a part of the list from a bigger list. In python slicing takes 3 arguments 1. start index, 2. end index, 3. step to skip numb...

Read more

Basic understanding of class in python

Basic understanding of class in python

Before starting with understanding classes in python lets talk about the basic terminology of object oriented programming.

  • Class:

    • A class is a basic design or a plan to an object. Class explains about  the properties and behaviour of an object.
    • In other words a class...
Read more

how to use *args and **kwargs in python

how to use *args and **kwargs in python

Python programming language is a simple and powerful language. It provides simple syntax with powerfull features. In this article we will discuss how to use *args and **kwargs in python.

*args and **kwargs are magic powers of python. we use *args for unpacking of arguments  and **...

Read more

iterators in python

iterators in python

Iterators in python is one of the simple and strong features of python. We already know that in python everything's an object. So, iterator is also a python object, which has a special method called "next".  In python iterator acts like a container. When we call method "next" on th...

Read more
Blog Archive