[Tutor] python "glue"

Corey Richardson kb1pkl at aim.com
Sun Jun 5 18:57:32 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/05/2011 06:25 AM, Benjamin Gregg wrote:
> Hi I recently bought a book (python programing for the absolute beginner)
> and it said python was a "glue" language (could work with other languages)
> I've been trying to make apps for android and webOS and I was wondering
> if I could use python for doing this through "glueing" to program games 
> on android and webOS can anyone help?


If you're on the android your options are limited. Indeed Python can
work with other languages, but not all of them and not easily. The
standard Python implementation, CPython, can really only glue together C
or C++ stuff. Jython can do Java, and IronPython can work with anything
that is using the .NET CLI.

On the 'droid your best bet would probably be
http://code.google.com/p/android-scripting/, but it's still very *very*
limited.

For webOS it looks like the only way you'll get Python is if you whip
together a C(++) program that statically links to it.

- -- 
Corey Richardson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQEcBAEBAgAGBQJN67V8AAoJEAFAbo/KNFvpv/MH/088lDJQqNlOHk/vKrzTjafQ
Mn0ybNrk3sKozkL5GE/UdX+ESTxmAnYUnDBM2VFNEV/FjBxyDTLfLAGEzBNs2u4t
LHvClprfW00xexm6wcOLMQHmR+peaPC5MGRIZgesP63istqkSNryxFAAlzRG9WW8
mJS8+r9BkQiSSDSdXDv2Jlk3/pNIwvMpp9Pwob9+O7IW4emSfqi1MtsTlkG9TnEv
HI3YQuDCSVQWyWZpUup7wSqlyUMr3LY5TiOXal4SFNLIh8Tw30p9uSB7s10VBntv
SURLH0pqTM7qWb7VKLCTRNwM5cda2pooXo/CPs/CdrG4mbWvyOiqpisihYrZQ5g=
=plrm
-----END PGP SIGNATURE-----


More information about the Tutor mailing list