aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/pyo3_template/__main__.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-03-12 21:32:29 +0800
committerGitHub <noreply@github.com>2025-03-12 21:32:29 +0800
commitdd873e954a92d0e3209fe98b034570b47c859589 (patch)
tree4e1718f42394c9f3384b8f91429068a6e1e980db /src/pyo3_template/__main__.py
downloadconventional_role_play-dd873e954a92d0e3209fe98b034570b47c859589.tar.gz
conventional_role_play-dd873e954a92d0e3209fe98b034570b47c859589.zip
Initial commit
Diffstat (limited to 'src/pyo3_template/__main__.py')
-rw-r--r--src/pyo3_template/__main__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pyo3_template/__main__.py b/src/pyo3_template/__main__.py
new file mode 100644
index 0000000..0135c6d
--- /dev/null
+++ b/src/pyo3_template/__main__.py
@@ -0,0 +1,8 @@
+from ._core import sum_as_string
+
+def main():
+ print(sum_as_string(1, 2))
+
+
+if __name__ == "__main__":
+ main() \ No newline at end of file