Skip to content

tip46985-cloud/python_modules_and_data_handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Mastering Python Modules and Aliases

This assignment demonstrates creating a custom utility module (text_utils.py) and importing it in the main script with an alias.

Features

  • Reverse a string.
  • Capitalize each word in a string.
  • Shows how to use module aliasing (import text_utils as tu).

Files

  • text_utils.py → contains string manipulation functions.
  • main_text_utils.py → main script that imports and uses the functions.

Run

python3 main_text_utils.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages