From bc855f0de66f064fbec8c69d81e6434c8a1d71e1 Mon Sep 17 00:00:00 2001 From: Zaihua Ji Date: Mon, 13 Jan 2025 17:25:45 -0600 Subject: [PATCH 1/2] Update hello_world.py --- src/rda_python_template/hello_world.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/rda_python_template/hello_world.py b/src/rda_python_template/hello_world.py index 15e0c12..4ca5d7d 100644 --- a/src/rda_python_template/hello_world.py +++ b/src/rda_python_template/hello_world.py @@ -1 +1,7 @@ -print("hello Workd!") +def main(): + print("hello Workd!") + +# +# call main() to start program +# +if __name__ == "__main__": main() From bd535eb99606ad0008aef88a769da730c06dd364 Mon Sep 17 00:00:00 2001 From: Zaihua Ji Date: Mon, 13 Jan 2025 17:38:21 -0600 Subject: [PATCH 2/2] Update __init__.py --- src/rda_python_template/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rda_python_template/__init__.py b/src/rda_python_template/__init__.py index 8b13789..5becc17 100644 --- a/src/rda_python_template/__init__.py +++ b/src/rda_python_template/__init__.py @@ -1 +1 @@ - +__version__ = "1.0.0"