This is one of our post in the “Python function of the day” series which explains about python inbuilt functions. Today we will learn about cmp(). cmp() : The method cmp() compares two datatypes. The data types supported are...Read More
This is the first part of the series on python built-in functions. In this tutorial we will present any() and all() built-ins. Both these functions serve to analyze the content of a sequence when applying a specific...Read More
Value unpacking is a very useful feature in Python. It helps make the code readable and more chic 🙂The idioms presented here are the most common ways to use unpacking in Python and are intended to help you understand how it...Read More
Today our python built-in function is enumerate() which is very much useful to generate iterator element along with index. Need of enumerate() function in Python: Some times we require to generate a sequence of elements in a...Read More
The try and except statements in python helps us to mitigate exception errors with a meaning full way. To understand why we require try and except statements we should know how python handles execution and syntax errors. There...Read More
Python have two built-in functions which are useful to generate a sequence of numbers. These two functions are useful when you want to do iteration using for loop. Though both of the functions do same work like generating...Read More
Today our python built-in function(s) are bin(), oct() and hex() which are useful for converting any type of number like negative, integer and large to their respective base numbers. Need of bin(), oct() and hex() function in...Read More
Today our python built-in function is abs() which is useful for converting any type of number like complex, negative, integer and large to it’s absolute number. Need of abs() function in Python: When we are doing some math work...Read More
Some times if we want to update a table or query a table for multiple values in a single column we have to run our simple sql query multiple times. Suppose if you want to get an element value in a column of a table you normally...Read More
Recently I come across a requirement to search for lines in a given file/files where the search term is mix of capital letters and small letters. Normally when we search with awk it search exactly what we try to search but not...Read More
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Thank you for subscribing.
Something went wrong.
we respect your privacy and take protecting it seriously
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.