0 branches
Tree
Top files
Clone with HTTPS:
README.md
examples: mention `-d no_backtrace` in examples/call_v_from_python/README.md
3 years ago
282 bytes
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 -d no_backtrace -shared test.v
Step 2: Run the python file using python3 test.py
Note: you do not need -d no_backtrace if you use gcc or clang .