Python String
- 20 September
Print Unicode Character in Python
1. Introduction Handling Unicode characters is a critical aspect of modern programming, especially in a globalized environment where software applications need to support multiple languages and character sets. Python, being a widely-used language, provides several methods to handle and display Unicode characters. This article will explore these methods in both Python 2 and Python 3, […]
- 19 May
Remove First and Last Character of String in Python
We use strings in python to handle text data. For processing the data, we sometimes need to remove one or more characters from the string. In this article, we will discuss how we can remove the first and the Last Character of string in python. We will also look at how we can remove the […]
- 19 May
Remove HTML Tags From String in Python
While collecting data, we often need to process texts with HTML tags. In this article, we will discuss different ways to remove HTML tags from string in python. Remove HTML tags from string in python Using Regular Expressions Regular expressions are one of the best ways to process text data. We can also remove HTML […]
- 19 May
Remove xa0 from String in Python
In this post, we will see how to remove xa0 from String in python Python programmers have to deal with large amounts of various Unicode characters that appear when parsing HTML files and while using the Beautiful Soup library for dealing with HTML files. One such Unicode character is the xa0, which represents spaces in […]
- 18 May
Convert bool to String in Python
In this post, we will see how to convert bool to string in Python. Before moving on to finding the different methods to implement the task of converting bool to string in Python, let us first understand what a boolean and a string are. What is a string in Python? A string is the most […]
- 18 May
Convert UUID to String in Python
In this post, we will see how to convert UUID to String in Python. UUID in Python UUID stands for Universally Unique Identifier. It is a 128 bits ID that is used to uniquely identify a resource in the digital world. This resource can be a document, user, file, and more. UUIDs also have an […]
- 18 May
How to Replace Word in String in Python
In this tutorial, we will to how to replace word in string in Python. Strings represent a sequence of characters. In Python, they are immutable, which means that we cannot edit or modify strings. Whenever we perform any operation of modifying a string, we are creating a new copy. We will discuss how to replace […]
- 18 May
Escape Curly Brace in f-String in Python
In this tutorial, we will see how to escape curly brace in f-string in Python. Use of the f-string in Python In Python, we can format strings using different methods to get the final result in our desired style and format. String formatting is also used for replacing and filling in missing values. Python 3.6 […]
- 03 May
Remove Urls from Text in Python
In this post, we will see how to remove Urls from text in Python. Introduction In Python, we can read and process text data. We can perform various operations on such texts using different libraries. In this tutorial, we will learn how to remove URLs from text in Python. A URL is a link for […]