binaryninja.interaction.get_directory_name_input¶
- 
get_directory_name_input(prompt, default_name='')[source]¶
- get_directory_name_inputprompts the user for a directory name to save as, optionally providing a default_name.- Note: This API function differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line a simple text prompt is used. The UI uses the native window pop-up for file selection. - Parameters: - Return type: - Example: - >>> get_directory_name_input("prompt") prompt dirname 'dirname'