TypeError:'str' object not callable

whats the solution. I want the current path. I removed the current path I am getting the same error