print_collect_msg¶
- pyrcs.utils.print_collect_msg(data_name, initial=None, verbose=False, confirmation_required=True, end=' ... ')[source]¶
Prints a message indicating the status of data collection.
- Parameters:
data_name (str) – The name of the data being collected.
initial (str | None) – The initial letter of the desired code or data; defaults to
None
.verbose (bool | int) – Whether to print relevant information to the console.
confirmation_required (bool) – Whether user confirmation is required before proceeding.
end (str) – String appended at the end of the message; defaults to
" ... "
.
Examples:
>>> from pyrcs.utils import print_collect_msg >>> print_collect_msg("Railway Codes", verbose=True, confirmation_required=False) Collecting the data of "Railway Codes" ...