MCPcopy Index your code
hub / github.com/lzhoang2801/OpCore-Simplify / request_input

Method request_input

Scripts/utils.py:161–170  ·  view source on GitHub ↗
(self, prompt="Press Enter to continue...")

Source from the content-addressed store, hash-verified

159 os.startfile(folder_path)
160
161 def request_input(self, prompt="Press Enter to continue..."):
162 if sys.version_info[0] < 3:
163 user_response = raw_input(prompt)
164 else:
165 user_response = input(prompt)
166
167 if not isinstance(user_response, str):
168 user_response = str(user_response)
169
170 return user_response
171
172 def progress_bar(self, title, steps, current_step_index, done=False):
173 self.head(title)

Callers 15

exit_programMethod · 0.95
run_updateMethod · 0.80
show_oclp_warningMethod · 0.80
select_macos_versionMethod · 0.80
before_using_efiMethod · 0.80
mainMethod · 0.80
OpCore-Simplify.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected