aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/pyo3_template/__main__.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-09-12 00:53:11 +0800
committerGitHub <noreply@github.com>2025-09-12 00:53:11 +0800
commit5135876b5e2a6c40232414ea0b7eb875fa225cf0 (patch)
tree4e1718f42394c9f3384b8f91429068a6e1e980db /src/pyo3_template/__main__.py
downloadOneRoll-5135876b5e2a6c40232414ea0b7eb875fa225cf0.tar.gz
OneRoll-5135876b5e2a6c40232414ea0b7eb875fa225cf0.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