Re: [PythonCE] very slow XMLRPCServer

2009-05-18 Thread Thomas Heller
David McNab schrieb: > Hi, > > I'm trying to run an XML-RPC server on my ipaq h4100, based on the > python 'SimpleXMLRPCServer', but it's ridiculously slow to process > requests. > > Turnaround for even the simplest client requests is around 30-40 > seconds. I don't know if this will help you or

Re: [PythonCE] Is there a script that would let me do this?

2009-05-08 Thread Thomas Heller
Thomas Heller schrieb: > Tony Lee schrieb: >> I installed pythonce on my WM6. It works good! >> >> >> I wonder if there is a simple script that can act as a console that >> takes input from the port (telnet) and output the data to the port >> also. >

Re: [PythonCE] Is there a script that would let me do this?

2009-05-08 Thread Thomas Heller
Tony Lee schrieb: > I installed pythonce on my WM6. It works good! > > > I wonder if there is a simple script that can act as a console that > takes input from the port (telnet) and output the data to the port > also. > > Like a io redirection, so I can just telnet to the WM6 to do script > dev

Re: [PythonCE] pygame / ctypes / SDL

2008-08-29 Thread Thomas Heller
Adam Walley schrieb: > Well, I have now got a small demo app working, which makes use of SDL > LoadBMP, Surface, blit, audio (wav), keysym, and draw functions. I have > compiled a small DLL, that allows access to these functions through ctypes, > and it works very well. The core of the application

[PythonCE] Installation of Python packages on Windows CE

2008-08-15 Thread Thomas Heller
How should Python packages be installed on Windows CE? The context is that I am preparing a new release of comtypes. I have learned so far on this list that a CAB file is a convenient way to install software, but my question is what should this cab file create: - as usual on Windows, a directory

Re: [PythonCE] The State of Affairs

2008-07-30 Thread Thomas Heller
Lachezar Dobrev schrieb: > 2008/7/30 Thomas Heller <[EMAIL PROTECTED]>: >> ... >> BTW: How do you install a cab on a CE device? > 1. Download CAB using WLAN, WWAN, Bluetooth FTP, Bluetooth PAN, etc. > from the Web-Site, or a network share. > 2. Double-tap the

Re: [PythonCE] The State of Affairs

2008-07-30 Thread Thomas Heller
Alexandre Delattre schrieb: > I was thinking that a first step to enhance distribution of PythonCE > apps, would be to be able to create easily .cab for them. > > .cab are installable over the air, as well by cross installing from > desktop. > > If I met enough positive feedback, I'll start tryin

Re: [PythonCE] Comtypes installation problem...

2008-07-18 Thread Thomas Heller
David Goncalves schrieb: > Hi, > >> By the time I wrote pypoom, comtypes (version 0.3 if I remember well) >> worked out of the box on WinCe. >> >> Sergei, if you send me your tweaked version of comtypes, I think I'll be >> able to replace your "comments" with more portable statements like : >>

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Thomas Heller
David Goncalves schrieb: > Hi, > > I'm trying to install comtypes on Python 2.5 (2007-10 release). > I've copied the "comtypes" folder to "Program files\Python25\Lib". > > When i do a "import comtypes" to check if everything is ok, i > get the following message : > > function "SafeArrayCreateVec

Re: [PythonCE] Comtypes installation problem...

2008-06-26 Thread Thomas Heller
Michael Foord schrieb: > David Goncalves wrote: >> Hi, >> >> I'm trying to install comtypes on Python 2.5 (2007-10 release). >> I've copied the "comtypes" folder to "Program files\Python25\Lib". > > That is part of the Win32 extensions for Python which run on the desktop > (with a different CPU a

Re: [PythonCE] getting ctypes to work in 2.4 version

2008-02-13 Thread Thomas Heller
Petri Wunsch schrieb: > Hi, > > is there a separate ctypes package dowloadable for pythonCE 2.4 I > can find it only for normal python but it's kind of hard to install > that foexample in windows mobile device. Look for ctypes-1.0.0.winCE-arm-py2.4.zip in this page: http://sourceforge.net/pro

Re: [PythonCE] remote-console

2007-02-23 Thread Thomas Heller
Jan Ischebeck schrieb: > Hi Thomas, > > Your script works well for me on Ubuntu Feisty. > > The only issue I have is, that it doesn't detect the "//Program Files/" > folder correctly for non-US Pocket PCs. (E.g. German WinCE uses > "//Programme/"). > > I've tried to get this directory via CeGe

Re: [PythonCE] remote-console

2007-02-21 Thread Thomas Heller
Ruben Miguelez Garcia schrieb: >> Ah, great. Yes, the current version only works on Windows, it requires >> that the device is connected via ActiveSync. The CeRemoteAPI is used to >> transfer the client script to the device, and start the interpreter there. >> Sorry for this limitation. > >>

Re: [PythonCE] remote-console

2007-02-16 Thread Thomas Heller
Ruben Miguelez Garcia schrieb: > Dear Thomas, > >> A much improved version is available here: >> >> http://ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/ >> >> The console.py script is thought to be run on the workstation. Editing >> the client.py script (which is transferred a

Re: [PythonCE] Bluetooth

2007-01-30 Thread Thomas Heller
Ruben Miguelez Garcia schrieb: > Hello to all, > I am new on the list. > Firstly I will share all my experiences until now. > Then I am going to explain some research that I did about bluetooth > on "Windows CE" because that is my main problem now. > > == Some experie

Re: [PythonCE] VensterCE release

2007-01-30 Thread Thomas Heller
[EMAIL PROTECTED] schrieb: > Hello Brian, > > Well, since I'm a student, I didn't really take into account > commercial use. I ideally thought that GPL gives a lot of freedom for > free or commercial development. > If it encouranges python ce users to choose venster as their gui > toolkit, i

[PythonCE] ctypes-1.0.1

2006-10-27 Thread Thomas Heller
I've released ctypes-1.0.1 (see the announcement on ctypes-users, for example). This is exactly the same version that is also bundled with Python 2.5, so I assume there's no need to build a separate windows-ce binary. Thomas ___ PythonCE mailing list P

[PythonCE] Small buglet (?) in Python CE 2.4.3

2006-08-04 Thread Thomas Heller
Python 2.4.3 (#0, Apr 29 2006, 20:58:35) [MSC v.1201 32 bit (Unknown)] on Pocket PC (Remote Console on ('192.168.99.10', 20238)) PocketPC>>> cmp(buffer("abc"), buffer("def")) \Temp\_script20238.py:1: RuntimeWarning: tp_compare didn't return -1, 0 or 1 -1 PocketPC>>> Thanks, Thomas __

Re: [PythonCE] py2exe

2006-06-01 Thread Thomas Heller
t; Could this be done? A py2exe version for pocketpc, that generates an >>> executable that can run on Pocket PC? >> >> py2exe requires ctypes. I think there was some progress getting ctypes to >> work >> on Windows CE. No, py2exe does not require ctypes (AFAIK ;

Re: [PythonCE] Running Python program without getting Python CE window

2006-03-02 Thread Thomas Heller
Ed Blake wrote: > --- "Michael Foord" <[EMAIL PROTECTED]> wrote: > >> You ought to check out Wax. It's a friendly Pythonic layer that sits >> atop of wx and IMHO is just as easy to use as Tkinter. > > Lol! I've been using/tinkering with firedrop for a few weeks now so I am > vaguely familier wit

Re: [PythonCE] ceFile.py implementing basic file-like interface

2006-02-16 Thread Thomas Heller
> On Feb 14, 2006, at 14:06, Thomas Heller wrote: > >> I haven't taken a detailed look at the code, but it may be useful >> ;-). I'm currently hacking a little bit with distutils to integrate >> win CE support into the ctypes setup script so that it is easier

Re: [PythonCE] ceFile.py implementing basic file-like interface

2006-02-14 Thread Thomas Heller
Shane Holloway (IEEE) wrote: > Hey Everyone, > > Just thought I'd upload our latest RAPI code that implements a file like > object for reading and writing over RAPI. Hope you all find it > helpful! Currently, it doesn't support the readline and iterator type > thing, though that should be doa

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-20 Thread Thomas Heller
(Sorry for the late reply - sooo much to do ;-) "Luke Dunstan" <[EMAIL PROTECTED]> writes: > From: "Thomas Heller" <[EMAIL PROTECTED]> > >> We have three more or less complete and tested rapi modules. I have to >> admit that after reading it I

Re: [PythonCE] How to edit registry on pocketpc to change how IE displays python files.

2006-01-18 Thread Thomas Heller
Fuzzyman <[EMAIL PROTECTED]> writes: > Stewart Midwinter wrote: > >>David, there should be a script that edits the registry for you, and >>it comes with a shortcut to help run it. Which version of PythonCE >>did you install? >> >> >> >> > It didn't work for me. The one supplied seem to need run

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-13 Thread Thomas Heller
We have three more or less complete and tested rapi modules. I have to admit that after reading it I like Luke's module better than the TechGame one, although I found at least one error in it (CeCreateProcess must take a pointer to PROCESS_INFORMATION). We have the script that I posted which impl

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-11 Thread Thomas Heller
"Luke Dunstan" <[EMAIL PROTECTED]> writes: >>> From: "Thomas Heller" <[EMAIL PROTECTED]> >> >> Do you know of any other way except TCP/IP to establish a two-way >> communication between the desktop and the PDA? >> > One w

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-10 Thread Thomas Heller
"Luke Dunstan" <[EMAIL PROTECTED]> writes: > - Original Message ----- > From: "Thomas Heller" <[EMAIL PROTECTED]> > To: > Sent: Monday, January 09, 2006 10:42 PM > Subject: Re: [PythonCE] How do you develop on the PocketPC? > > >>

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-10 Thread Thomas Heller
" Luke Dunstan" <[EMAIL PROTECTED]> writes: > From: "Thomas Heller" <[EMAIL PROTECTED]> >> "Luke Dunstan" <[EMAIL PROTECTED]> writes: >>> We should probably consider putting all these scripts in CVS somewhere. >> >> And

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-09 Thread Thomas Heller
"Luke Dunstan" <[EMAIL PROTECTED]> writes: > From: "Thomas Heller" <[EMAIL PROTECTED]> >> "Luke Dunstan" <[EMAIL PROTECTED]> writes: >> >>> By the way, I've recently tried running the remote part of "winpdb" &

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-09 Thread Thomas Heller
"Luke Dunstan" <[EMAIL PROTECTED]> writes: > I'm sorry to say that I've seen the NULL bug before but have been too > distracted by the task at hand to fix it, but here is a patch that > fixes it. > > By the way, I've recently tried running the remote part of "winpdb" > (http://www.digitalpeers.com

Re: [PythonCE] How do you develop on the PocketPC?

2006-01-09 Thread Thomas Heller
*not* seem to work. Second, you must start the server.py script on the PC before starting the client.py script on the pocket device. I was not able to start the connection from the pocket device, although that would seem more logical. Thomas # Thomas Heller 20060109 # Run this on the Pocket_PC,

[PythonCE] How do you develop on the PocketPC?

2006-01-09 Thread Thomas Heller
Does anyone (everyone ?) start the Python interpreter on the device, and use the stylus to enter interactive commands? Or does one write scripts on the PC, let ActiveSync transfer them, and start them by clicking on the filename? I cannot really believe that. BTW, when an uncatched exception occu

Re: [PythonCE] Python 2.3.5 for Windows CE / ARM (Pocket PC 2003)

2006-01-06 Thread Thomas Heller
Andy Baker <[EMAIL PROTECTED]> writes: > Regarding the Win32 extensions... > > Is there a document that lists: > 1. What does work. > 2. What wont work because it's not relevant to WinCE > 3. What could work given some extra work > > I am particularly interesting in Win32.com.client which as I > u

Re: [PythonCE] Hello and some questions

2005-12-27 Thread Thomas Heller
Info4HiDeVis <[EMAIL PROTECTED]> writes: > my last question is for this maillinglist: some maillinglists are also > readable as news-group (for example: dzug.org) - is it for this > maillinglist possible too? this can make the reading and writing over > the mail-client more easier. Sure: see http

Re: [PythonCE] PythonCE on the ARM emulator

2005-12-21 Thread Thomas Heller
"Luke Dunstan" <[EMAIL PROTECTED]> writes: >>> I have tried the simple solution of disabling the version check and I >>> was able to install and run the ctypes unittests on the ARM emulator. >>> >>> Thomas: I can give you the build of Python that I used, if you want. >>> >> That would be great, al

Re: [PythonCE] PythonCE on the ARM emulator

2005-12-19 Thread Thomas Heller
"Luke Dunstan" <[EMAIL PROTECTED]> writes: > I have tried the simple solution of disabling the version check and I > was able to install and run the ctypes unittests on the ARM emulator. > > ...

Re: [PythonCE] PythonCE on the ARM emulator

2005-12-16 Thread Thomas Heller
Michael Foord <[EMAIL PROTECTED]> writes: > Thomas Heller wrote: >> Since Luke Dunstan has ported ctypes to windows CE, so I got interested >> in this platform. I don't have a Windows CE device, but I found the MS >> Device Emulator (1.0, Community Preview):

[PythonCE] PythonCE on the ARM emulator

2005-12-15 Thread Thomas Heller
Since Luke Dunstan has ported ctypes to windows CE, so I got interested in this platform. I don't have a Windows CE device, but I found the MS Device Emulator (1.0, Community Preview): http://msdn.microsoft.com/mobility/windowsmobile/downloads/emulatorpreview/default.aspx To get started, I insta