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

examples: mention -d no_backtrace in examples/call_v_from_python/README.md

This commit is contained in:
Delyan Angelov 2022-11-01 18:16:30 +02:00
parent 968435fca6
commit 31adc65dd6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1,5 +1,7 @@
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 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 .