Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python libraries portable?

28 views
Skip to first unread message

jkells

unread,
Jun 7, 2012, 4:20:47 PM6/7/12
to
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?

Thanking you in advance

Alister

unread,
Jun 8, 2012, 4:09:52 AM6/8/12
to
That would depend on the particular module
if it is a pure python module then it will work anywhere
if it is a C module for example cStringIO then it would be architecture
dependent.

some modules are wrappers to external library's (example GTK) so for
those to work the necessary library files would need to be available

if you are using modules that are in the standard library (except some
platform specific ones ) then they should be available across all
platforms, otherwise you would need to check

see http://docs.python/library for details of the standard library
0 new messages