A fixture is a collection of file that hold the serialized content of the database. Files that comprise the fixture can be distributed across multiple directories and application in the Django project Fixtures are useful to prepopulate selected tables with…
Both functions scanf() and gets() are used to read the input from standard input (keyboard) But, there are differences in how they treat the input. scanf() Function gets() Function Signature of sanf() functionint scanf ( const char * format, ……
Go Programming language has two data types rune and string that are used to define characters and strings in go respectively Characters in Go Characters are runes in go language, rune literals are expressed in single quotes (‘) . Where,…
Go language has only one looping construct, that is for. There are three forms of for loops in Go. For can be used with single condition much like while loop in other programming language, a “for” clause which much like…
Python built-in function filter is helpful sometimes to write a compact code. Filter function takes two arguments “function” and “iterable”. Each element of iterator which is returned by iterable is passed to function (first argument). Function must return either True…
A leap year is the year which divisible by 4. But all century(multiples of 100) years that are divisible 4 are not leap years, in such a case it is tested against if it is divisible by 400. Here is…
All Linux distributions come with latest stable python release. Yet, if you want to try out new python for its elegant new features. You can compile and install it side by existing python. Steps to Install Python from source Clone…
OpenCV stands for “Open Source Computer Vision Library”. It is a computer vision and machine learning library. It gives your programs the ability to see, read, manipulate and detect objects and faces in images and videos. Installing OpenCV from source…
Unlike many other programming languages python supports multiple types formal arguments in the function definition. It is one of the flexibility that python offers. Types of function (formal) arguments that python supports, Parameters VS Arguments Actual VS Formal Arguments Regular…
Endianness describes the byte order in which bytes of large values are stored, transferred and accessed. Based on order in which bytes are stored, transmitted and accessed there are two main types of endianness called little-endian and big-endian . Memory…
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok