-
Differentiate Regex patterns and Regex modifiers. Explain any 3 uses of regular expression with relevant ...
regular expression in python is A tiny, highly specialized programming language embedded inside and made available through the re module. it helps to match or find other strings or set ... -
Explain the concept of inheritance in Python with suitable examples.
Inheritance is the capability of one class to derive or inherit the properties from another class. The benefits of inheritance are: It represents real-world relationships well. It provides reusability of a code. ... -
Write a python program to search a word in a file and replace with another ...
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITYFIFTH SEMESTER M.C.A. DEGREE EXAMINATION, DECEMBER 2018Course Code: RLMCA369Course Name: PYTHON PROGRAMMING Here we represented two type to replace one using string replace method and other ... -
Explain seek() and tell() methods with example?
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITYFIFTH SEMESTER M.C.A. DEGREE EXAMINATION, DECEMBER 2018Course Code: RLMCA369Course Name: PYTHON PROGRAMMING Syntax Following is the syntax for seek() method − fileObject.seek(offset[, whence]) Python file method seek() sets the file's ...