mypkgs.hello#

Core processing functions for the hello-world service.

This module contains the business logic for generating greetings and saving output files.

Functions#

write_hello(name, output_dir)

Create a personalized greeting and write it to a text file.

Module Contents#

mypkgs.hello.write_hello(name, output_dir)[source]#

Create a personalized greeting and write it to a text file.

Parameters:
  • name (str) – The name of the person to greet.

  • output_dir (str) – The directory where the output file ‘output_hello.txt’ will be saved.

Returns:

The full path to the created output file.

Return type:

str