Author Archives: Gurmeet Singh

Python String isalpha() Method

Python String Isalpha() Method

This is a tutorial of the Python String isalpha() method. Learn to check if a given string only contains alphabetical characters or not with examples. Python String isalpha() The str.isalpha() method returns True if the given string contains only alphabetical characters (A-Z, a-z) and if not it returns False. Note. By alphabets, we mean both […]

Creating a linkable HTML Button

Creating Linkable HTML Button

This article is a detailed tutorial on how you can create a linkable HTML button using different available techniques. Illustrative Examples are given. Creating a linkable HTML Button Websites are full of links. You might be wanted to link to some other page or website within your website’s content. Similarly, there might be a need […]

Overwriting Local Files in Git (Tutorial with Examples)

Git Overwrite Local Files

This is a tutorial on how you can force the git to fetch the remote files & overwrite the local files using the different commands. (git fetch, pull, etc.) Overwrite Local Files with different Git Commands There are cases when you might be trying to use the git pull command to pull everything from the […]

Python String isalnum() Method

Python String Isalnum() Method

This is a tutorial of the Python String isalnum() method. Learn to check if all characters in a given string are alphanumeric or not with examples. Python String isalnum() The Python str.isalnum() method returns True if the given string contains only alphanumeric characters i.e. only alphabets and numbers. If the given string contains characters other […]

Python String index() Method

Python String Index() Method

This is a tutorial of the Python String index() method. Learn to find the index of a particular substring inside a given string with the help of examples. Python String index() The str.index() method returns the index of a particular substring inside a given string if it actually exists within the string and if the […]

Python String encode() Method

Python String Encode() Method

This is a tutorial of the Python String encode() method. Learn to get the encoded versions (UTF-8, ASCII, etc.) of a given string with the help of examples. Python String encode() This method returns the specified encoding of a given Python String. You can make use of this method to convert a given string into […]

Sed Command In Linux/Unix (Tutorial with Examples)

Sed Command In Linux Or Unix (Tutorial With Examples)

This article explains the usage of the sed command in Linux or Unix with the help of examples. Learn to perform a number of different operations with it. Sed Command Sed stands for Stream Editor.  It is used to perform a number of operations on a given input stream or file. These operations of this […]

Python String expandtabs() Method

Python String Expandtabs() Method

This is the Python String expandtabs() method Tutorial. Learn to get the copy of a given string with all the tab chars replaced with whitespace characters. Python String expandtabs() The Python String expandtabs() method returns a new copy of the given string in which all of the tab characters are replaced with the whitespace characters […]

Python String endswith() Method

Python String Endswith() Method

This is a tutorial of the Python String endswith() method. Learn to check if a given string ends with a given suffix or substring or not with examples. Python String endswith() The string.endswith() method returns True if a given string ends with a particular suffix or substring and False otherwise. Note. Similar to this method, […]

Python String count() Method

Python String Count() Method

This is a tutorial of the Python String count() method. Learn to find the occurrences of a substring in a given string using this method with examples. Python String count() The Python String count() method returns the number of times a particular substring occurs in a given string. You can make use of this method […]