Thinking how to send a SMS using python? Then this article is for you. You will need way2sms account so please make sure you have one.
Dictionaries are data structures which work in KEY-VALUE pairs separated by colon(:) symbol. Keys are used to access elements of dictionaries and keys can be strings,numbers,etc. Dictionaries are mutable which means we can easily modify contents of Dictionaries! Hashing is a cool technique which can help us retrieve any record in constant amount of time let's... Continue Reading →
Opening a webpage using programming sounds a little tricky, but Python is here to help! The webbrowser module in Python can be used to open any webpage or website. See the following example: import webbrowser webbrowser.open('www.google.com', new=2) Setting new=2 makes your webpage open on a new window!
Sequence objects may be compared to other objects with the same sequence type. The comparison uses lexicographical ordering: first, the first two items are compared, and if they differ this determines the outcome of the comparison; if they are equal, the next two items are compared, and so on
The operators , =, == and != compare the values of two objects. The default behavior for equality comparison (== and !=) is based on the identity of the objects.
These represent numbers in the range -2147483648 through 2147483647. When the result of an operation would fall outside this range, the result is normally returned as a long integer (in some cases, the exception OverflowError is raised instead).
As we all know that Python changes the type of variable during run time as per it's need. But sometimes we need to see type of variable before performing some operations or calculations further on that variable. So,in order to find data type of a variable use in built function type() >>> firstNumber = 10... Continue Reading →