CodeBase Interface For Python
A Python binding of CodeBase
(Win32 only!)
Warning: You should have C4DLL.DLL Version:6.5. I only tested for Fox version, but it should work for dBase, and Clipper versions also.
(Jonathan Eid reported that it works for Clipper version.)
Warning: You should have C4DLL.DLL Version:6.5. I only tested for Fox version, but it should work for dBase, and Clipper versions also.
(Jonathan Eid reported that it works for Clipper version.)
-
CodeBaseForPython15 (177 KiB)
CodeBaseForPython20 (177 KiB)
CodeBaseForPython21 (177 KiB)
CodeBaseForPython22 (82 KiB)
(note for Py22: put "cvar." in front of CodeBase constants. ie. cvar.r4eof)
CodeBaseForPython22 (82 KiB) Warning: Experimental!
Changes:
* Code4() constructor modified to take an additional version(long) parameter.
Syntax: cb = Code4(init, version)
Usage :
cb = Code4() -- init=1, version=6502
cb = Code4(1) -- init=1, version=6502
cb = Code4(1, 6500) -- init=1, version=6500
* 'note for Py22' is now obsolete :)
CodeBaseForPython23 (81 KiB)
CodeBaseForPython24 (82 KiB)
CodeBaseForPython25 (122 KiB)
CodeBaseForPython26 (122 KiB)
CodeBaseForPython27 (108 KiB)
Example scripts (69 KiB) (translated from C++ examples)
-
Installing:
Unzip to any folder.
-
Usage:
Open a console window, change to install folder then type
python ex0.py etc.
-
Documentation:
(Courtesy of Joe Ellsworth)
Also look CodeBase.py file for implemented classes/methods etc.