Changeset c13d973
- Timestamp:
- 08/29/16 10:47:09 (8 years ago)
- Branches:
- master, pympi
- Children:
- fb69232
- Parents:
- 63c7ac7
- git-author:
- Hal Finkel <hfinkel@…> (08/29/16 10:47:09)
- git-committer:
- Hal Finkel <hfinkel@…> (08/29/16 10:47:09)
- Location:
- python
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
python/example.py
r63c7ac7 rc13d973 39 39 40 40 import sys 41 import g io41 import genericio as gio 42 42 43 43 name = sys.argv[1] -
python/genericio.py
ref727a6 rc13d973 43 43 44 44 #Define where the library is and load it 45 _path = os.path.dirname( '__file__')46 libpygio = ct.CDLL( os.path.abspath('../frontend/libpygio.so'))45 _path = os.path.dirname(__file__) 46 libpygio = ct.CDLL(_path + '/../frontend/libpygio.so') 47 47 #we need to define the return type ("restype") and 48 48 #the argument types
Note: See TracChangeset
for help on using the changeset viewer.