Date is a reference to a particular day represented within a calendar system. We use " date " class to represent a day in calend...
Usage of "datetime" from datetime module with use cases - Python
datetime can be found in the module datetime. datetime is a python's representation of date and time in a single object. how to create d...
how to use "filter" builtin function in python?
"filter" is a python's built-in function which can be found in module "__builtin__". It takes two arguments, first ...
how to use "reduce" builtin function in python?
reduce is a built-in function in python module "__builtin__". It takes function as first argument and second argument as an sequen...
how to use "map" keyword or function in python?
"map' is a built-in function in python. It takes first argument as a function or a callable object. All other arguments must be se...
Operations and Usage of Sets - Python
Set is a built in data-type(data-structure) in python. It only stores unique elements. It do not contains duplicate elements. We can iterate...
Operations and Usage of Numbers - Python
Python provides four different data types to handle the numbers/numeric data. 1. int: positive or negative numbers without decimal point Ex:...
Operations and Usage of Strings - Python
String is a one of the built-in data types in python. We can form strings by combining zero or more characters. It is immutable data type. ...
Operations and Usage of Tuple - Python
Tuple is a data structure in python. It is used to store the data like lists. The only difference is it is not mutable. We cannot able to ...
Operations and Usage of List - Python
List is a data structure in python. It is used to store a group of elements(not only similar type). we can access any element with the index...
Operations and Usage of Dictionary - Python
Dictionary is one of the data-type(data-structure) in python. It store's the data in a hash-map format(keys, values) How to create a dic...
Types of URLS and using named URLS - Django
What is URL ? Everybody say's that URL means " Uniform Resource Locator " . But nobody understands it's meaning...
Find memory size of an object or a variable - Python
What is memory ? something remembered from the past. Why memory is important ? Computer uses memory for storage of data. After processing...
Create generators using yield keyword
What is a generator ? python generator is a function it returns an iterable object. What is iterator ? Iterator is an object which sto...
xml-schema-validation-with-python
xml schema validation with python System Requirements For Debian/Ubuntu: 1) dependencies sudo apt-get install libxml2-dev li...
login-with-user-object-without-password-django
You don't need a password to log a user in. The auth.login function just takes a User object, which you are presumably already gett...
python virtual environment setup in ubuntu
Python is a open source software. It has thousands of third-party packages developed by developers all over the world. All these packages w...