aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/pyo3_template/__main__.py
diff options
context:
space:
mode:
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