[Pythonmac-SIG] python extension on MacOS
Fri, 07 Jul 2000 17:07:44 +0200
Recently, Luc Lefebvre <email@example.com> said:
> In order for choosing Python for this project I would need to be able to
> extend it (using a shared library? as I have done for Tcl/Tk) in order to
> interface with some hardware (a data acquisition system). Is there an
> example project out there of a Python extension for the Mac that I could
> use (preferably using CodeWarrior for the MacOS) as a template?
Yes, this is pretty easy under MacPython. The standard installer
already has the "developer option", install that to get all needed
headers and a sample project. This should be enough to develop
extensions, otherwise you can always go to source.
> I also have *very* limited experience with the Python extensions like
> numpy. Is it feasible to do all of my number crunching (typical would be
> matrix operations, scaling for plotting purposes) using numpy on the Mac?
> Are there any plotting extensions for the Mac?
I think Imaging will do some plotting, but I've never used it. Anyone
else know an answer to this?
> Also, with MacOS-X (server?) out there, would I be better off going
> directly to that and using *nix tools instead?
For MacOS X Server: yes, probably. For MaxOS X it is unclear
currently whether the best solution will be based on current Unix
Python or MacPython. But don't worry, the result will be called
> I am currently working through ORA "Learning Python". Any other
Programming Python is good too.
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm