Python libraries portable?

Corey Richardson corey at octayn.net
Thu Jun 7 18:03:36 EDT 2012


On Thu, 07 Jun 2012 20:20:47 GMT
jkells <jtkells at verizon.net> <jtkells at verizon.net> wrote:

> We are new to developing applications with Python.  A question came
> up concerning Python libraries being portable between
> Architectures.    More specifically, can we take a python library
> that runs on a X86 architecture and run it on a SPARC architecture or
> do we need to get the native libraries for SPARC?
> 

Pure-python libraries should run wherever Python does, if it doesn't,
that's a bug. C extensions to CPython shouldn't have any platform
incompatibilities, but of course you'll need to recompile.

-- 
Corey Richardson



More information about the Python-list mailing list