I am passing a file path to a method. An example is the following: The method--
def example(image):
code not shown
The call to the method--
example("resources/1.png")
In this, I want to remove the "resources/" part using the example method and simply return "1.png". How can I do that?