print_collect_msg¶
- pyrcs.utils.print_collect_msg(data_name, verbose, confirmation_required, end=' ... ')[source]¶
Prints a message indicating the status of data collection.
- Parameters:
data_name (str) – The name of the data being collected.
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=2, confirmation_required=False) Collecting the data of "Railway Codes" ...