String Operations in Python Part 2

In the previous article we saw various string operations like concatenation, and use of index( ) and rindex( ) functions. Now we will look at more String Operations in Python. Utilizing String Operations in Python len( ): It returns the number of characters in the string. upper( ): It converts the lowercase characters in the … Read more

String Operations in Python Part 1

In the previous article we saw the use of Formatting Strings in Python, in this article we are going to discuss operations on Strings and methods of Strings. Working with String Operations in Python The first operation we are going to discuss is checking whether a given string is a substring of another string or … Read more

Common String Operations in Python

In the previous article we have seen some of the list operations and string operations in python. Now we will look at some more vital string operations, keywords or functions in Python. Transformation/Manipulation of Strings There are a number of fun methods that we can use to transform our string text. Among those more important for … Read more

Python File Handling Methods |Operations on Files in Python

This article focuses on working with files (input / output) in Python : opening, reading, writing, closing and other operations. A file is just a collection of data stored as a sequence of bits on a computer. The information is stored in a heap of data (data structure) and is named “filename”. There are two main … Read more