(self, folder_path)
| 150 | return major, minor, patch |
| 151 | |
| 152 | def open_folder(self, folder_path): |
| 153 | if os.name == 'posix': |
| 154 | if 'darwin' in os.uname().sysname.lower(): |
| 155 | subprocess.run(['open', folder_path]) |
| 156 | else: |
| 157 | subprocess.run(['xdg-open', folder_path]) |
| 158 | elif os.name == 'nt': |
| 159 | os.startfile(folder_path) |
| 160 | |
| 161 | def request_input(self, prompt="Press Enter to continue..."): |
| 162 | if sys.version_info[0] < 3: |