mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
examples: show how to call a simple v module from python (#13105)
This commit is contained in:
parent
535317eba3
commit
5e85d4cb39
4 changed files with 17 additions and 1 deletions
5
examples/call_v_from_python/README.md
Normal file
5
examples/call_v_from_python/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
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 -prod test.v``
|
||||
|
||||
Step 2: Run the python file using ``python3 test.py``
|
Loading…
Add table
Add a link
Reference in a new issue