[PythonCE] Python within another application

mike@pcblokes.com mike at pcblokes.com
Tue May 17 12:24:35 CEST 2005

Quoting James Salter <jsalter at cse.unsw.edu.au>:

> Thanks for the prompt advice Fuzzy.
> Getting into the guts of python may be acceptable, depending on whether its
> going to be worth it.
> Anyone willing to indulge me even further by mounting a case for python in
> favour of a VBScript / Jscript host (apart from the fact that VBScript is
> vile)?

You should only use Python if you want a scripting language that your 
users will
actually be able to program in. If usability isn't a concern then another
language may be more suitable ;-)

Seriously though, I guess there is already a Jscript implementation built into
WindowsCE. It may be easier/more practical to leverage that.

Building a minimum (embeddable) Python VM for the Windows CE platform 
would be a
very cool thing of course.....


> James
>> -----Original Message-----
>> From: mike at pcblokes.com [mailto:mike at pcblokes.com]
>> Sent: Tuesday, 17 May 2005 7:18 PM
>> To: James Salter
>> Cc: pythonce at python.org
>> Subject: Re: [PythonCE] Python within another application
>> Quoting James Salter <jsalter at cse.unsw.edu.au>:
>> > Hi all.
>> >
>> > A few years back I implemented Python scripting in a win32 ftp client. I
>> > was wondering if the procedure would be similar, or possible, on a CE
>> app.
>> >
>> > James
>> The issue is whether the C API is exposed in the same way. The answer is
>> probably *yes* - as it is just a port of the main python distribution.
>> (I have no experience of this - so this is all conjecture of course).
>> I think your main problem will be resource consumption on the limited
>> platform.
>> If you cut down the python interpreter to only include the bare
>> essentials (get
>> rid of some of the embedded modules etc) then it would be more viable.
>> That may
>> entail more work in the Python source code than you are up for though.
>> Best Regards,
>> Fuzzy
>> http://www.voidspace.org.uk/python
>> > _______________________________________________
>> > PythonCE mailing list
>> > PythonCE at python.org
>> > http://mail.python.org/mailman/listinfo/pythonce
>> >

More information about the PythonCE mailing list