I have created FileDialog to browse file. After choosing the file, I want to get the name of the file only! But I always get full path.. and this is my Code:
self.pushButton_2.clicked.connect(self.pushButton_2_handler)
def pushButton_2_handler (self):
    self.open_dialog_box()
def open_dialog_box(self):
    filename=QFileDialog.getOpenFileName()
    print(filename[0])
 
     
     
    