In this article, we will see how to insert at the front of a list in python. Python has several built-in data types, list is one among those types. Using a list, we can store multiple values under a single…
Beautiful soup is yet another excellent library in python which is being widely used to scrap web content from any webpage using python. To scrap the web content using python, beautiful soup is the best tool. It is used to…
There are many in-built features APIs in python which we can use to process the given string. Following are a few examples. Remove whitespace characters from a string The split() function is used to separate the given string based on…
To get the list of subdirectories under the given path, we need to interact with the OS filesystem. Python made it easy by providing the “os” module. It provides the functionality to interact with the operating systems. Just import the…
In this article, we will see how to split a list into multiple sub-lists. Python lists are non-homogeneous and used to store multiple values of different data types which can be either numeric, Boolean, characters, etc under the same name….
In this article, we will see how to remove a white space character from a string and convert the string to upper case. By using the split() method we divide the entire string into multiple substrings with whitespace as a…
Python has a module called datetime which has several classes for manipulating date and time. By using the “timedelta” in datetime module we can easily get the previous month’s date. Following is the example
Dictionary in python is a collection of key-value pairs. It is the same as an array instead the value here will be accessed by using the keys mapped. Whereas in arrays we use indexes. Values in the dictionary can be…
To check whether the file or folder exists, we need to interact with the OS filesystem. Python made it easy by providing the “os” module. It provides the functionality to interact with the operating systems. Just import “os.path” module and…
Many times I have faced the same issue i.e. lost the mouse control when performing the drag and drop in the virtual box. I am not sure what happened internally but with the below procedure, I got the mouse control…