1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/call_v_from_python/README.md

6 lines
199 B
Markdown
Raw Normal View History

A simple example to show how to call a function written in v from python
Step 1: Compile the v code to a shared library using `v -shared test.v`
Step 2: Run the python file using `python3 test.py`