sscasc@tumkur overriding methods overriding methods allows user to override the parent class method that is use the same method both in base and child class the name of the method must be the same in the parent class and the child class with different implementations example:classover pyclass ()def sum (self, , )print("in class " + return class ( )def sum (self, , )print("in class "ca* + * return a_obj= (print(a_obj sum ( , )b_obj (print(b_obj sum ( , )outputin class in class in the preceding exampleclasses and both have the same method sum (with different implementations namespace namespace is mapping from names to objects examples are the set of built-in names (containing functions that are always accessible for free in any python program)the global names in moduleand the local names in function even the set of attributes of an object can be considered namespace the namespaces allow defining and organizing names with claritywithout overlapping or interference for examplethe namespace associated with that book we were looking for in the library can be used to import the book itselflike thisfrom library second_floor section_x row_three import book we start from the library namespaceand by means of the dot operatorwe navigate that namespace within this namespacewe look for second_floorand again we navigate with dotoperator we then walk into section_xand finally within the last namespacerow_threewe find the name we were looking forbook regular expressions the regular expression module regular expression is compact notation for representing collection of strings what makes regular expressions so powerful is that single regular expression can represent an unlimited number of strings-sp_python programming