mirror of
https://github.com/Z3Prover/z3
synced 2025-07-22 20:32:05 +00:00
Z3Py extra files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
e9ff9ba9fc
commit
3f9edad676
5 changed files with 56 additions and 0 deletions
15
python/README-linux.txt
Normal file
15
python/README-linux.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
The script exec.sh sets PYTHONPATH, and executes 'python example.py'.
|
||||
|
||||
To create scripts using Z3Py, the Z3 python directory must be in your PYTHONPATH.
|
||||
Z3Py searches for libz3.so in set of predefined places that includes the directory where Z3Py is stored.
|
||||
You may also manually initialize Z3Py using the command z3.init(path-to-libz3.so)
|
||||
|
||||
In your Python application you should include:
|
||||
|
||||
from z3 import *
|
||||
|
||||
Learn more about Z3Py at:
|
||||
http://rise4fun.com/Z3Py/tutorial/guide
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue