This function open file directory :param address: address of file :type address:str :return: None
(address)
| 18 | y = (hs / 2) - (h / 2) |
| 19 | root.geometry('%dx%d+%d+%d' % (w, h, x, y)) |
| 20 | def open_folder(address): |
| 21 | ''' |
| 22 | This function open file directory |
| 23 | :param address: address of file |
| 24 | :type address:str |
| 25 | :return: None |
| 26 | ''' |
| 27 | try: |
| 28 | os.system("start "+address) |
| 29 | except Exception: |
| 30 | print("Error In Opening Final File") |
| 31 | def openfile(): |
| 32 | ''' |
| 33 | This function ask for opening file with tkinter |