3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
z3/python/README-osx.txt
Leonardo de Moura 3f9edad676 Z3Py extra files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-02 08:24:25 -07:00

13 lines
482 B
Plaintext

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.dylib 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.dylib)
In your Python application you should include:
from z3 import *
Learn more about Z3Py at:
http://rise4fun.com/Z3Py/tutorial/guide