print_collection_message¶
- pyrcs.utils.print_collection_message(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_collection_message >>> print_collection_message("Railway Codes", verbose=True, confirmation_required=False) Collecting the data of Railway Codes ...