aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..071d2e7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
1# A tiny demo for a Python module in C
2
3This repo contains a Python module written in C with only one function.
4
5Works on my machineā„¢. To make it works on yours:
6
71. Install the python development package. It is usually called `python3-dev`
8 or `python3-devel`.
92. Compile this module with `make`.
103. Open `python` and enjoy!
11
12```
13>>> import sum_module
14>>> sum_module.sum_from_c(23, 19)
1542
16```

Generated with cgit - Back to sebastiano.tronto.net