[PythonCE] Compiled version of Python 2.3.5 for Windows CE?

2006-01-06 Thread Jeffrey Barish
Would it be possible for someone to post a compiled version of Python 2.3.5 
for Windows CE?  I have been having difficulties downloading eMbedded Visual 
C++ 4.0.
-- 
Jeffrey Barish
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Yes, please compile it...

2006-01-06 Thread Rodrigo Contreras Köbrich
Hi.
I'm having the same troubles.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Yes, please compile it...

2006-01-06 Thread Andy Baker
I've always had a complete nightmare everytime I've tried to compile
something from source.

I'm sure lots of people who are competant in Python are lost in the
world of makefiles and such-like so I would like to vote for always
keeping an up-to-date binary available.

Andy Baker

On 1/6/06, Rodrigo Contreras Köbrich <[EMAIL PROTECTED]> wrote:
> Hi.
> I'm having the same troubles.
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
>
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Rodrigo Contreras Köbrich
I'm sure that the pythonce project will be one of the most exiting 
things happening in the future of mobile devices. I hate java, so i will 
support python till the end.
But as Andy Baker just said "lots of people who are competent in Python 
are lost in the world of makefiles" and I must say that the Sourceforge 
page doesn't help at all.
The forum is almost empty, there's is only one bug reported and when you 
click on the "home page" link you find out that there is NO HOME PAGE.
Such a project with such few content. The only way to succeed here will 
be showing the efforts of the project... In Sourceforge there are rather 
hidden...

I think there are two critical items missing in the TODO list:

1. A compiled version of pythonce.
2. A human readable and user friendly homepage (and yes, a blog would be 
just fine to show advances and related news).

Bye.

rc.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Yes, please compile it...

2006-01-06 Thread Luke Dunstan

I'm not sure what you are trying to say. In an earlier message you replied 
to my announcement of the Python 2.3.5 release, but now you seem to be 
asking for a binary release. If so, have you tried the release?

Rodrigo and Jeffrey, I also invite you to download the binaries mentioned in 
my email of a few days ago:

http://mail.python.org/pipermail/pythonce/2006-January/001207.html


Luke

- Original Message - 
From: "Andy Baker" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, January 07, 2006 12:01 AM
Subject: Re: [PythonCE] Yes, please compile it...


I've always had a complete nightmare everytime I've tried to compile
something from source.

I'm sure lots of people who are competant in Python are lost in the
world of makefiles and such-like so I would like to vote for always
keeping an up-to-date binary available.

Andy Baker

On 1/6/06, Rodrigo Contreras Köbrich <[EMAIL PROTECTED]> wrote:
> Hi.
> I'm having the same troubles.
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
>
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


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
> understand it doesn't work. Could it potentially work? WinCE does have
> COM as far as I know but I don't know what differences there are.

I cannot answer these questions, but I'll try to get comtypes working.
Are there 'interesting' COM objects on a Pocket PC 2003 to experiment
with?

Thanks,

Thomas

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Stewart Midwinter
tienes razón Rodrigo!

The SF project doesn't have a home page.  Perhaps one of the current
developers, bkc, kashtan, pfalcon can make it happen or delegate the
job to one of us (I can help).  Do we get a space on SF to create the
home page, or do we have to host it elsewhere?  If so, I note that the
domain pythonce.org is available!

cheers,
--
Stewart Midwinter
Python 2.3.4 on Toshiba e830

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad
AIM:midtoad1
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Luke Dunstan

If you are not at all familiar with SourceForge then I can imagine that you 
might have missed the binary releases. First go here:

http://sourceforge.net/project/showfiles.php?group_id=104228

Under the package "pythonce" you will see a number of "releases", including:

Python-2.3.5-20051223
Python-2.3.4/HPC-2000
Python/CE 2.3.4-1

Each release has a +/- button next to it to expand the list of files 
contained in that release, but the first one (2.3.5) should already be 
expanded.

Next to each release you will also see a link [Notes] which shows the 
release notes. Please read the release notes for the 2.3.5 release:

http://sourceforge.net/project/shownotes.php?release_id=382495&group_id=104228

>From there you should be able to figure out which files to download. 
Basically though, the zip files contain the source and the file 
"PythonCE-2.3.5-20051223-setup.exe" contains the binary installer. Here is a 
direct link to file, where you can select a download mirror or use the 
default:

http://prdownloads.sourceforge.net/pythonce/PythonCE-2.3.5-20051223-setup.exe?download

As for the web page, I agree that it would be nice to have something there 
but writing web pages is not really my area of expertise or interest, so you 
are welcome to write something yourself. I would prefer a wiki for the main 
documentation so maybe we can either create one or use an existing one like 
http://wiki.python.org/moin/FrontPage or 
http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage ???

Luke

- Original Message - 
From: "Rodrigo Contreras Köbrich" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, January 07, 2006 12:19 AM
Subject: [PythonCE] Empty project or Human Friendly Project?


> I'm sure that the pythonce project will be one of the most exiting
> things happening in the future of mobile devices. I hate java, so i will
> support python till the end.
> But as Andy Baker just said "lots of people who are competent in Python
> are lost in the world of makefiles" and I must say that the Sourceforge
> page doesn't help at all.
> The forum is almost empty, there's is only one bug reported and when you
> click on the "home page" link you find out that there is NO HOME PAGE.
> Such a project with such few content. The only way to succeed here will
> be showing the efforts of the project... In Sourceforge there are rather
> hidden...
>
> I think there are two critical items missing in the TODO list:
>
> 1. A compiled version of pythonce.
> 2. A human readable and user friendly homepage (and yes, a blog would be
> just fine to show advances and related news).
>
> Bye.
>
> rc.
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
> 
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Stewart Midwinter
On 1/6/06, Luke Dunstan <[EMAIL PROTECTED]> wrote:

> As for the web page, I agree that it would be nice to have something there
> but writing web pages is not really my area of expertise or interest, so you
> are welcome to write something yourself. I would prefer a wiki for the main
> documentation so maybe we can either create one or use an existing one like
> http://wiki.python.org/moin/FrontPage or
> http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage ???

Either would be fine by me. The wiki at murkworks is already set up
and specific to this project, so easier to start with. I note however
that the last entry there was 3 years ago.  Brad Clements, the wiki
admin, is one of the pythonce developers though, so Brad can you tell
us if the location is still considered 'temporary' or whether we could
make use of it for some time?

Luke, is it possible to create a home page on SF that does nothing
more than redirect to another location?  Must be, since I see other
projects doing something similar.   I'll be happy to sign up and make
it happen, if it will help.

cheers
S



--
Stewart Midwinter
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad
AIM:midtoad1
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Luke Dunstan

SourceForge provides hosting with nice features like scripting and MySQL, 
documented here:

http://sourceforge.net/docman/display_doc.php?docid=4297&group_id=1

Alternatively, a project administrator can change the "Home Page" link to 
point to another site.

It's not obvious to me how to edit the MurkWorks wiki but hopefully editing 
is just disabled temporarily.

Luke

- Original Message - 
From: "Stewart Midwinter" <[EMAIL PROTECTED]>
To: "Rodrigo Contreras Köbrich" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, January 07, 2006 12:59 AM
Subject: Re: [PythonCE] Empty project or Human Friendly Project?


tienes razón Rodrigo!

The SF project doesn't have a home page.  Perhaps one of the current
developers, bkc, kashtan, pfalcon can make it happen or delegate the
job to one of us (I can help).  Do we get a space on SF to create the
home page, or do we have to host it elsewhere?  If so, I note that the
domain pythonce.org is available!

cheers,
--
Stewart Midwinter
Python 2.3.4 on Toshiba e830

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad
AIM:midtoad1
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] that's it...

2006-01-06 Thread Rodrigo Contreras Köbrich
That would be very useful, Steward...

I'm very interested in helping, too.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Stewart Midwinter
On 1/6/06, Luke Dunstan <[EMAIL PROTECTED]> wrote:
> It's not obvious to me how to edit the MurkWorks wiki but hopefully editing
> is just disabled temporarily.

I see on the 'contributors' page on the Murkworks site the following comment:
"Please ask Brad for setting your username and password if you want
participate."

So it seems that there is a manual process for getting approved to
edit that wiki.  If Brad is around, perhaps he'd like to comment on
whether he would like to see more use made of the wiki.

s
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] oops..

2006-01-06 Thread Rodrigo Contreras Köbrich
I apologize to the developers. I've just found the CAB file.
But I will keep my ideas about the lack of human-friendlyness of the 
project.

One of the important things about a future homepage is that we all users 
of pythonce will be able to post samples and code in order to make the 
thing more and more popular.
As soon as I get it to work on my iPAQ I will start to post my advances 
on my page. The pythonce.org space will be the best place to do it, of 
course.

Bye, again.

rc.

PS: Hey, this is not spam, ok?
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] PythonCE 1.5.2 for XScale?

2006-01-06 Thread Peter Dembinski
I know CPython 1.5.2 is deprecated, but does anyone have a PythonCE
version 1.5.2 compiled for XScale processors?

-- 
http://www.peter.dembinski.prv.pl


___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Tkinter in pythonce...

2006-01-06 Thread Rodrigo Contreras Köbrich
Hi.

I installed the CAB file in my PDA.
The first thing I wanted to test was the GUI capabilities, so I tried to 
run the following code (which compiles nicely in the PC version):

from Tkinter import *

root = Tk()

myContainer1 = Frame(root)  ### (1)
myContainer1.pack() ### (2)

root.mainloop()

But pythonce raises an error code: No module named Tkinter.

I noticed that there is a file named '_tkinter.pyd' at the DLLs folder.
What should I do?

Bye.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Brad Clements
On 6 Jan 2006 at 9:59, Stewart Midwinter wrote:

> tienes razón Rodrigo!
> 
> The SF project doesn't have a home page.  Perhaps one of the current
> developers, bkc, kashtan, pfalcon can make it happen or delegate the
> job to one of us (I can help).  Do we get a space on SF to create the
> home page, or do we have to host it elsewhere?  If so, I note that the
> domain pythonce.org is available!

SF provides hosting space for the web page, or we can just put the home page 
somewhere else.

I've never setup web pages on SF before. I wonder if they have webdav support 
or something.

It's been ages since I've done a static page.. heh. 

I'm happy for volunteers.. What content do we need?

There's some old how-to's on the murkworks research wiki, it's out of date

http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage




-- 
Brad Clements,[EMAIL PROTECTED](315)268-1000
http://www.murkworks.com  
AOL-IM or SKYPE: BKClements


___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Tim Lesher
I think one of the issues that really hurts PythonCE is the fact that
it's not part of the mainline, so its availability and status is
always questionable.

A few weeks ago on the core python-dev mailing list, Guido weighed in on this:

"My reason for wanting people to contribute ports back is that if they
don't, the port is more likely to stick on some ancient version of
Python (e.g. I believe Nokia is still at 2.2.2). Then, assuming the
port remains popular, its users are going to pressure developers of
general Python packages to provide support for old versions of Python.

While I agree that maintaining port-specific code is a pain whenever
Python is upgraded, I still think that accepting patches for
odd-platform ports is the better alternative. Even if the patches
deteriorate as Python evolves, they should still (in principle) make a
re-port easier."

Just my opinion, but I don't think PythonCE will get much traction
unless and until someone decides to clean up the build and contribute
it back to the core.
--
Tim Lesher <[EMAIL PROTECTED]>
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Brad Clements
On 6 Jan 2006 at 10:09, Stewart Midwinter wrote:

> Either would be fine by me. The wiki at murkworks is already set up
> and specific to this project, so easier to start with. I note however
> that the last entry there was 3 years ago.  Brad Clements, the wiki
> admin, is one of the pythonce developers though, so Brad can you tell
> us if the location is still considered 'temporary' or whether we could
> make use of it for some time?

The wiki is not intended to be temporary. It's an old version of zwiki, should 
probably be updated and I need to do something about self-provisioning  
accounts. I think it's closed to editing due to spam.

> 
> Luke, is it possible to create a home page on SF that does nothing
> more than redirect to another location?  Must be, since I see other
> projects doing something similar.   I'll be happy to sign up and make
> it happen, if it will help.

I can make a redirect page easily enough. But having a wiki for the home page 
sufficient?

Should I setup a Trac site instead?

What about spam control?



-- 
Brad Clements,[EMAIL PROTECTED](315)268-1000
http://www.murkworks.com  
AOL-IM or SKYPE: BKClements


___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] Compiled version of Python 2.3.5 for Windows CE?

2006-01-06 Thread Jeffrey Barish
Thank you for the additional information.  The description of 
PythonCE-2.3.5-20051223-setup.exe in the release notes says that the program 
registers the .cab file and allows easy installation, but doesn't mention 
that it includes the binary.  Maybe that's obvious to people who know Windows 
CE better than I do.

I have managed to install PythonCE-2.3.5.  There is an icon and tapping it 
runs python 2.3.5.  I can import wx and Pyro.  However, when I tap on one of 
my programs (using file explorer), I now get the message:

The file 'xxx' cannot be opened.  Either it is not signed with a trusted 
certificate, or one of its components cannot be found.  You might need to 
reinstall or restore this file.

Did I do something wrong in the installation?
-- 
Jeffrey Barish
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Brad Clements
On 6 Jan 2006 at 10:37, Stewart Midwinter wrote:

> I see on the 'contributors' page on the Murkworks site the following
> comment: "Please ask Brad for setting your username and password if
> you want participate."
> 
> So it seems that there is a manual process for getting approved to
> edit that wiki.  If Brad is around, perhaps he'd like to comment on
> whether he would like to see more use made of the wiki.

yes I would

I think I turned off anonymous commenting and editing due to spam overload.

Telion has disappeared, he was maintaining the wiki contents.

It's an old zwiki.. Should I move to Trac or something else instead?

I can continue to host it.



-- 
Brad Clements,[EMAIL PROTECTED](315)268-1000
http://www.murkworks.com  
AOL-IM or SKYPE: BKClements


___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Brad Clements
On 6 Jan 2006 at 14:30, Tim Lesher wrote:

> Just my opinion, but I don't think PythonCE will get much traction
> unless and until someone decides to clean up the build and contribute
> it back to the core. -- Tim Lesher <[EMAIL PROTECTED]>


For sure,

and a few years back I started down that road.

Older versions of Windows CE have big incompatibability issues.

I tried, for example, to cleanup NaN handling in various places, getpath.c 
implementation and so on.

My cleanup was done via C macros that would be "compiled out" on standard 
platforms.

I sent a few trial balloons up to the python-dev list, but my approach was not 
generally liked.

I had spent hours editing code to stick these damn macros in,  and while it 
worked, it apparently wasn't an acceptable solution.


Unfortunately I can't remember now exactly what the story was.. anyway, for as 
much as I've tried to get my clients interested in Python on CE, I've never had 
any 
interest from any of them. So my Python CE support has been low.

Combine that with the difficult problem of integrating the CE port back into 
the 
mainline code and .. I have just let the project slip by.

Anyway.. it would be great to get our changes back into the mainline code, but 
I 
don't think it's a simple problem to solve.. :-(



-- 
Brad Clements,[EMAIL PROTECTED](315)268-1000
http://www.murkworks.com  
AOL-IM or SKYPE: BKClements


___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread Tim Lesher
On 1/6/06, Brad Clements <[EMAIL PROTECTED]> wrote:
> Older versions of Windows CE have big incompatibability issues.

New ones, too. :-) Especially on non-PocketPC devices.

> Anyway.. it would be great to get our changes back into the mainline code, 
> but I
> don't think it's a simple problem to solve.. :-(

Believe me, I understand--crossplatform development isn't easy, and
Windows CE is specifically warped enough to make it worse.

Just so we're perfectly clear, I certainly don't mean to discount the
work you've done to date on the port--many thanks for that.
--
Tim Lesher <[EMAIL PROTECTED]>
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Empty project or Human Friendly Project?

2006-01-06 Thread David L. Kashtan
Tim Lesher wrote:
> I think one of the issues that really hurts PythonCE is the fact that
> it's not part of the mainline, so its availability and status is
> always questionable.

This is indeed the big issue.  When I did the original PythonCE port
of 2.3.4 one of my big objectives was to do it as a compatibility layer
to Win32 -- so it could easily integrate into the mainline source development
and the burden for me to keep it current would then be small.  I tried to
get it back into the Mainline but (and my memory is fuzzy here) my attempt
to arrange the integration with the mainline python developers went nowhere.

I have not looked at the 2.3.5 work that was done, but I would hope that it
was disciplined enough to keep the compatibility layer technique intact.

If somebody could deal with the political issues of getting integrated with
the mainline development, the technical work should not be too bad.  Please
let me know if there is anything I can do to help.

David Kashtan
Validus Medical Systems Inc.

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


[PythonCE] "political issues"?

2006-01-06 Thread Rodrigo Contreras Köbrich
Hi, David:

I'm new to the list, but I'm paying a lot of attention to every message 
and I must say that today the discussion got very spicy.
Can you explain a little what dealing with the "political issues of 
getting integrated with the mainline development" means?
The Nokia implementation of Python is well known and I really can't 
figure out why they don't have PPC in mind.
It seams that the term "political issues" is very inappropriate for an 
open source project.
Who won't be glad to have a first-hand well documented version of pythonce?

Rc.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] "political issues" - integration attempt history

2006-01-06 Thread Brad Clements
On 6 Jan 2006 at 19:06, Rodrigo Contreras Köbrich wrote:

> I'm new to the list, but I'm paying a lot of attention to every
> message and I must say that today the discussion got very spicy. Can
> you explain a little what dealing with the "political issues of
> getting integrated with the mainline development" means? The Nokia
> implementation of Python is well known and I really can't figure out
> why they don't have PPC in mind. It seams that the term "political
> issues" is very inappropriate for an open source project. Who won't be
> glad to have a first-hand well documented version of pythonce?

Whoa.

I hope that my earlier posts didn't imply any "political" issues.

I submitted a patch to python-dev, it wasn't up to snuff.. But I wasn't 
motivated to 
rework it enough to get it accepted. I don't want anyone to have the false 
impression that I was disappointed by the response I received from python-dev 
folks. 



It's a hard problem. Now google has reminded me the big issue was assignment 
to errno is not allowed on CE because errno is not a variable on the CE 
platform.

Start with this thread

http://mail.python.org/pipermail/python-dev/2002-September/028884.html

Of more interest is gvr's response:

http://mail.python.org/pipermail/python-dev/2002-September/028893.html


And this problem, reserved keywords:

http://mail.python.org/pipermail/python-dev/2002-September/028905.html

I think those two threads, from 2002, pretty much cooled me to the idea of re-
integration.

(note I was also trying to support Python on NetWare, which had similar issues 
with errno)

NetWare is dead now, but CE remains.. ;-)


-- 
Brad Clements,[EMAIL PROTECTED](315)268-1000
http://www.murkworks.com  
AOL-IM or SKYPE: BKClements


___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] "political issues"?

2006-01-06 Thread David L. Kashtan
This is just conjecture on my part, but having been elbow-deep in the
Python 2.3.4 code, I don't think multi-platform was much of a concern
for Python in the early days.  When you don't have a multi-platform
(in this case Multi-OS) architecture in place early-on, the code slowly
becomes less and less maintainable because of all the conditionals the
developers have to deal with.

I think this is pretty much the problem Brad dealt with when he attempted
to put his Python 1.5 port into the mainline.  With a lot of MACROS going
in, the Mainline developers were reluctant to deal with it.  That is one
of the reasons why I went with a compatability layer to make PythonCE as
close to Win32 Python as possible.

David

Rodrigo Contreras Köbrich wrote:
> 
> I'm new to the list, but I'm paying a lot of attention to every message 
> and I must say that today the discussion got very spicy.
> Can you explain a little what dealing with the "political issues of 
> getting integrated with the mainline development" means?
> The Nokia implementation of Python is well known and I really can't 
> figure out why they don't have PPC in mind.
> It seams that the term "political issues" is very inappropriate for an 
> open source project.
> Who won't be glad to have a first-hand well documented version of pythonce?
> 
> Rc.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] PythonCE Digest, Vol 30, Issue 5

2006-01-06 Thread Michael Murdock
Hello,

Thomas Heller wrote:
>> I cannot answer these questions, but I'll try to get comtypes working.
>> Are there 'interesting' COM objects on a Pocket PC 2003 to experiment
>> with?

I would _love_ to get COM access from inside PythonCE because I want to
be able to control Pocket Outlook. Here's an excerpt from an MSDN SDK
Documentation for Windows Mobile-Based Pocket PCs:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/html/ppc_conpocketoutlookobjectmodel.asp

"Pocket Outlook Object Model

The Pocket Outlook Object Model (POOM) API provides access to Personal
Information Manager (PIM) data on Pocket PCs and Smartphones running
Microsoft Windows Mobile 2000 software and later. The POOM API mirrors
the desktop version of the Outlook Object Model but has a smaller scope of
functionality to accommodate the practical constraints of mobile devices.

The POOM API is a COM-based library that provides programmatic access
to Pocket Outlook data items and their container objects. The POOM API
provides an object-oriented framework for creating, modifying, and displaying
appointment, task, and contact items. It also provides functionality for
manipulating PIM item collections and folders.

Note: The Microsoft Windows Mobile 2003 SDK ships with a code sample,
named "POOMMaster," that uses the POOM API. The default location for the
installed code sample is C:\Program Files\Windows CE Tools\wce420\POCKET
PC 2003\Samples\Win32\Poommaster."

You mentioned comtypes would need to be changed. What else would need to
change to be able to access the POOM interfaces?

Thanks,

~Michael.
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] PythonCE Digest, Vol 30, Issue 6

2006-01-06 Thread Duane Blanchard
Hi, I've been lurking on the list and playing a little with PythonCE.
Very cool stuff here. Thanks to all the developers, many thanks. I'm
not a very talented coder, yet, but am willing to do the footwork of
getting an SF page for the project. It seems to me that everyone would
want this. Are there any objections before I go ahead and do it?

Thanks,

Duane


On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Send PythonCE mailing list submissions to
> pythonce@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.python.org/mailman/listinfo/pythonce
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PythonCE digest..."
>
>
> Today's Topics:
>
>1. Re: Empty project or Human Friendly Project? (Stewart Midwinter)
>2. oops.. (Rodrigo Contreras K?brich)
>3. PythonCE 1.5.2 for XScale? (Peter Dembinski)
>4. Tkinter in pythonce... (Rodrigo Contreras K?brich)
>5. Re: Empty project or Human Friendly Project? (Brad Clements)
>6. Re: Empty project or Human Friendly Project? (Tim Lesher)
>7. Compiled version of Python 2.3.5 for Windows CE? (Jeffrey Barish)
>8. Re: Empty project or Human Friendly Project? (Brad Clements)
>9. Re: Empty project or Human Friendly Project? (Brad Clements)
>   10. Re: Empty project or Human Friendly Project? (Brad Clements)
>   11. Re: Empty project or Human Friendly Project? (Tim Lesher)
>
>
> --
>
> Message: 1
> Date: Fri, 6 Jan 2006 10:37:27 -0700
> From: Stewart Midwinter <[EMAIL PROTECTED]>
> Subject: Re: [PythonCE] Empty project or Human Friendly Project?
> To: Luke Dunstan <[EMAIL PROTECTED]>
> Cc: pythonce@python.org
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 1/6/06, Luke Dunstan <[EMAIL PROTECTED]> wrote:
> > It's not obvious to me how to edit the MurkWorks wiki but hopefully editing
> > is just disabled temporarily.
>
> I see on the 'contributors' page on the Murkworks site the following comment:
> "Please ask Brad for setting your username and password if you want
> participate."
>
> So it seems that there is a manual process for getting approved to
> edit that wiki.  If Brad is around, perhaps he'd like to comment on
> whether he would like to see more use made of the wiki.
>
> s
>
>
> --
>
> Message: 2
> Date: Fri, 06 Jan 2006 14:32:16 -0300
> From: Rodrigo Contreras K?brich <[EMAIL PROTECTED]>
> Subject: [PythonCE] oops..
> To: pythonce@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> I apologize to the developers. I've just found the CAB file.
> But I will keep my ideas about the lack of human-friendlyness of the
> project.
>
> One of the important things about a future homepage is that we all users
> of pythonce will be able to post samples and code in order to make the
> thing more and more popular.
> As soon as I get it to work on my iPAQ I will start to post my advances
> on my page. The pythonce.org space will be the best place to do it, of
> course.
>
> Bye, again.
>
> rc.
>
> PS: Hey, this is not spam, ok?
>
>
> --
>
> Message: 3
> Date: Fri, 06 Jan 2006 20:21:12 +0100
> From: "Peter Dembinski" <[EMAIL PROTECTED]>
> Subject: [PythonCE] PythonCE 1.5.2 for XScale?
> To: pythonce@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii
>
> I know CPython 1.5.2 is deprecated, but does anyone have a PythonCE
> version 1.5.2 compiled for XScale processors?
>
> --
> http://www.peter.dembinski.prv.pl
>
>
>
>
> --
>
> Message: 4
> Date: Fri, 06 Jan 2006 16:28:51 -0300
> From: Rodrigo Contreras K?brich <[EMAIL PROTECTED]>
> Subject: [PythonCE] Tkinter in pythonce...
> To: pythonce@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi.
>
> I installed the CAB file in my PDA.
> The first thing I wanted to test was the GUI capabilities, so I tried to
> run the following code (which compiles nicely in the PC version):
>
> from Tkinter import *
>
> root = Tk()
>
> myContainer1 = Frame(root)  ### (1)
> myContainer1.pack() ### (2)
>
> root.mainloop()
>
> But pythonce raises an error code: No module named Tkinter.
>
> I noticed that there is a file named '_tkinter.pyd' at the DLLs folder.
> What should I do?
>
> Bye.
>
>
> --
>
> Message: 5
> Date: Fri, 06 Jan 2006 14:36:34 -0500
> From: "Brad Clements" <[EMAIL PROTECTED]>
> Subject: Re: [PythonCE] Empty project or Human Friendly Project?
> To: pythonce@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plai

Re: [PythonCE] Tkinter in pythonce...

2006-01-06 Thread Stewart Midwinter
Rodrigo, no desesperes!

Where do you have your python located?

You probably need to add some code that tells python where to look for
modules. you can do that with:
sys.path.append('\\SD Card\\Program Files\\Python\\Lib')
sys.path.append('\\SD Card\\Program Files\\Python\\Lib\\python23.zip\\lib-tk')

(of course, change that to the location where your python is located).

if you put the above into a file called sitecustomize.py in your
python folder, whenever it starts, it will read this file so you don't
have to put the code into your apps.

Inside your python folder, you should have a lib folder which contains
a pyton23.zip and a _tkinter.pyd. you may also have a
setup-registry.py, which will edit your registry so that you can just
double-click on python files to run them.

You may also want to look around for a copy of osce.py, which gives
you access to some of the features of the 'os' module on the desktop.

HTH
S
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Compiled version of Python 2.3.5 for Windows CE?

2006-01-06 Thread Stewart Midwinter
Jeffrey, have you had a previous version of python installed?   In
previous versions there was a script called setup-registry.py.   If
you previously used this, maybe your registry does not now point to
the new python installation. OTOH, if you never had python installed
before, look for such a file and run it using the Setup Registry.lnk
shortcut.

cheers
S


On 1/6/06, Jeffrey Barish <[EMAIL PROTECTED]> wrote:
> I have managed to install PythonCE-2.3.5.  There is an icon and tapping it
> runs python 2.3.5.  I can import wx and Pyro.  However, when I tap on one of
> my programs (using file explorer), I now get the message:
>
> The file 'xxx' cannot be opened.  Either it is not signed with a trusted
> certificate, or one of its components cannot be found.  You might need to
> reinstall or restore this file.


--
Stewart Midwinter
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad
AIM:midtoad1
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tkinter in pythonce...

2006-01-06 Thread Luke Dunstan

- Original Message - 
From: "Stewart Midwinter" <[EMAIL PROTECTED]>
To: "Rodrigo Contreras Köbrich" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, January 07, 2006 11:49 AM
Subject: Re: [PythonCE] Tkinter in pythonce...


> Rodrigo, no desesperes!
>
> Where do you have your python located?
>
> You probably need to add some code that tells python where to look for
> modules. you can do that with:
> sys.path.append('\\SD Card\\Program Files\\Python\\Lib')
> sys.path.append('\\SD Card\\Program 
> Files\\Python\\Lib\\python23.zip\\lib-tk')

This is not necessary because both of these directories are automatically in 
sys.path (just as on the desktop version of Python). If this is not the case 
then it is a bug.

>
> (of course, change that to the location where your python is located).
>
> if you put the above into a file called sitecustomize.py in your
> python folder, whenever it starts, it will read this file so you don't
> have to put the code into your apps.

Thanks for the tip. I haven't used sitecustomise.py before but I do use .pth 
files to add my own directories to the search path.

> Inside your python folder, you should have a lib folder which contains
> a pyton23.zip and a _tkinter.pyd. you may also have a
> setup-registry.py, which will edit your registry so that you can just
> double-click on python files to run them.

This is true of the 2.3.4 release but in the latest release the hierarchy 
looks like:

\Program Files\Python\
- python.exe
- python23.zip
- python23.dll
- DLLs\
- _tkinter.pyd
- Lib\

This is intended to be the same as the desktop version of Python on Windows 
(except for the .zip file).

>
> You may also want to look around for a copy of osce.py, which gives
> you access to some of the features of the 'os' module on the desktop.
>
> HTH
> S

You should already have an 'os' module. Or are there some specific functions 
that it doesn't include?

Luke
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Compiled version of Python 2.3.5 for Windows CE?

2006-01-06 Thread Luke Dunstan


- Original Message - 
From: "Jeffrey Barish" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, January 07, 2006 3:38 AM
Subject: [PythonCE] Compiled version of Python 2.3.5 for Windows CE?



Thank you for the additional information.  The description of
PythonCE-2.3.5-20051223-setup.exe in the release notes says that the 
program

registers the .cab file and allows easy installation, but doesn't mention
that it includes the binary.  Maybe that's obvious to people who know 
Windows

CE better than I do.


Perhaps the wording can be improved, but have you ever installed source code 
from an .exe file or a Windows CE .cab file? I haven't.



I have managed to install PythonCE-2.3.5.  There is an icon and tapping it
runs python 2.3.5.  I can import wx and Pyro.  However, when I tap on one 
of

my programs (using file explorer), I now get the message:

The file 'xxx' cannot be opened.  Either it is not signed with a trusted
certificate, or one of its components cannot be found.  You might need to
reinstall or restore this file.


I haven't seen this specific error message but I assume it is due to .py 
files not being properly associated with python.exe.



Did I do something wrong in the installation?
--
Jeffrey Barish


No, I simply haven't added the file associations to the CAB installer yet. I 
will try to do this for the next release but in the mean time copy the 
attached setup-registry.py to your PDA, run Python and then type:


execfile('\\program files\\python\\setup-registry.py')

The script can be placed anywhere though, this is just an example path.

Luke

#
#   Setup the registry to allow us to double click on python scripts
#
from _winreg import *
import sys

print "Setting up registry to allow\ndouble clicking of Python files to work"

#
#   Create the registry entries for ".py" and ".pyc" extensions
#
for Name in (".py", ".pyc"):
   Key = CreateKey(HKEY_CLASSES_ROOT, Name)
   SetValue(Key, None, REG_SZ, "Python.File")
   CloseKey(Key)

#
#   Create HKEY_CLASSES_ROOT\Python.File\Shell\Open\Command = "\Program 
Files\Python\Lib\Python.exe" "%1"
#
Key = CreateKey(HKEY_CLASSES_ROOT, "Python.File")
for Name in ("Shell","Open","Command"):
 New_Key= CreateKey(Key, Name)
 CloseKey(Key)
 Key = New_Key
SetValue(Key, None, REG_SZ, '"' + sys.executable + '" "%1"')
CloseKey(Key)

import time
time.sleep(5)
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tkinter in pythonce...

2006-01-06 Thread Stewart Midwinter
thanks for the extra details on 2.3.5.  I can see now that it's
different from 2.3.4. and more compatible with the desktop version.  
I'd better install it and find out more!

my comments about osce.py were directed at 2.3.4. Perhaps the newer
version doesn't need it, or may not be able to use it.

cheers
S
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tkinter in pythonce 2.3.5...

2006-01-06 Thread Luke Dunstan

Sorry, I was mistaken about one thing though: python23.zip\\lib-tk is not in 
sys.path by default (only Lib\\lib-tk is, but the Tkinter files are in the 
zip so that doesn't help).

Luke

- Original Message - 
From: "Stewart Midwinter" <[EMAIL PROTECTED]>
To: "Luke Dunstan" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, January 07, 2006 12:13 PM
Subject: Re: [PythonCE] Tkinter in pythonce...


thanks for the extra details on 2.3.5.  I can see now that it's
different from 2.3.4. and more compatible with the desktop version.
I'd better install it and find out more!

my comments about osce.py were directed at 2.3.4. Perhaps the newer
version doesn't need it, or may not be able to use it.

cheers
S
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tkinter in pythonce...

2006-01-06 Thread Luke Dunstan

- Original Message - 
From: "Rodrigo Contreras Köbrich" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, January 07, 2006 3:28 AM
Subject: [PythonCE] Tkinter in pythonce...


> Hi.
>
> I installed the CAB file in my PDA.
> The first thing I wanted to test was the GUI capabilities, so I tried to
> run the following code (which compiles nicely in the PC version):
>
> from Tkinter import *

The first thing I should say is that I know very little about Tkinter/Tcl/Tk 
so I'm not really personally able to support this part of the PythonCE port. 
The installer does include _tkinter.pyd merely as a convenience but it does 
not include the Tcl/Tk DLLs, partly because as I said I don't know enough 
about them but also because they are too large to include when only some 
people will use them.

The Python part of Tkinter is also included but unfortunately they are not 
in the default sys.path. As per Stewart's suggestion you can use 
sitecustomize.py or another method to add '\\Program 
Files\\Python\\python23.zip\\lib-tk' to sys.path. In the next release I hope 
to fix this to be automatic. You still need to get Tcl/Tk DLLs from 
elsewhere though.

Luke

> root = Tk()
>
> myContainer1 = Frame(root)  ### (1)
> myContainer1.pack() ### (2)
>
> root.mainloop()
>
> But pythonce raises an error code: No module named Tkinter.
>
> I noticed that there is a file named '_tkinter.pyd' at the DLLs folder.
> What should I do?
>
> Bye.
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
> 
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Tkinter in pythonce...

2006-01-06 Thread Stewart Midwinter
I'll get a copy of 2.3.5 installed over the next few days, then post
my steps of what it took to get Tkinter going.

cheers
S


--
Stewart Midwinter
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad
AIM:midtoad1
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Web site (was Re: Empty project or Human Friendly Project?)

2006-01-06 Thread Luke Dunstan

- Original Message - 
From: "Brad Clements" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, January 07, 2006 3:38 AM
Subject: Re: [PythonCE] Empty project or Human Friendly Project?


> On 6 Jan 2006 at 10:09, Stewart Midwinter wrote:
>
>> Either would be fine by me. The wiki at murkworks is already set up
>> and specific to this project, so easier to start with. I note however
>> that the last entry there was 3 years ago.  Brad Clements, the wiki
>> admin, is one of the pythonce developers though, so Brad can you tell
>> us if the location is still considered 'temporary' or whether we could
>> make use of it for some time?
>
> The wiki is not intended to be temporary. It's an old version of zwiki, 
> should
> probably be updated and I need to do something about self-provisioning
> accounts. I think it's closed to editing due to spam.
>
>>
>> Luke, is it possible to create a home page on SF that does nothing
>> more than redirect to another location?  Must be, since I see other
>> projects doing something similar.   I'll be happy to sign up and make
>> it happen, if it will help.
>
> I can make a redirect page easily enough. But having a wiki for the home 
> page
> sufficient?

I think having a wiki is the best first step since we have nothing at the 
moment. Already a few people have volunteered to help with the web page, and 
if we can immediately give them a wiki to edit then it avoids the hassle, 
the risks and the learning curve of giving them direct access to your web 
server.

> Should I setup a Trac site instead?

I haven't used Trac but it sounds like it includes things like bug tracking 
which SourceForge already provides so I wouldn't want to duplicate that (it 
would be more work to maintain too). What else does it provide that 
SourceForge doesn't?

> What about spam control?

I don't know the answer to that. The only other project that I am a 
developer on and that has a wiki is www.mingw.org but I have never seen spam 
on that wiki.

Luke
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] PythonCE Digest, Vol 30, Issue 6

2006-01-06 Thread Luke Dunstan

- Original Message - 
From: "Duane Blanchard" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, January 07, 2006 8:27 AM
Subject: Re: [PythonCE] PythonCE Digest, Vol 30, Issue 6


> Hi, I've been lurking on the list and playing a little with PythonCE.
> Very cool stuff here. Thanks to all the developers, many thanks. I'm
> not a very talented coder, yet, but am willing to do the footwork of
> getting an SF page for the project. It seems to me that everyone would
> want this. Are there any objections before I go ahead and do it?
>
> Thanks,
>
> Duane


Your offer is welcome, but in order to create the web page you would first 
need to be added as a developer by one of the project administrators. We are 
also discussing whether to host the web page on SourceForge or on Brad 
Clement's web server (which already has an old PythonCE wiki), so stay 
tuned.

By the way, if you reply to a digest then it would be nice if you could edit 
the Subject to be something meaningful and delete the text quoted from the 
digest, except for the parts you are specifically replying to.

Luke
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Message:5 COM access from inside PythonCE

2006-01-06 Thread javirosa
Would that allow us to gain enough functionality to allow syncing
appointments and emails without Outlook? Since it is a big issue with
SunBird and other Free Software calendering projects, I think it would be
a big boost to the projects popularity if we can get COM access. I wish I
could contribute something to the project myself, but I don't have much
programming experience or enough aesthetic sense to manage a website. If
anyone has any ideas though...

/**From Digest**/
--

Message: 5
Date: Fri, 6 Jan 2006 15:13:39 -0700
From: Michael Murdock <[EMAIL PROTECTED]>
Subject: Re: [PythonCE] PythonCE Digest, Vol 30, Issue 5
To: pythonce@python.org
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

Thomas Heller wrote:

 I cannot answer these questions, but I'll try to get comtypes working.
 Are there 'interesting' COM objects on a Pocket PC 2003 to experiment
 with?


I would _love_ to get COM access from inside PythonCE because I want to
be able to control Pocket Outlook. Here's an excerpt from an MSDN SDK
Documentation for Windows Mobile-Based Pocket PCs:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/html/ppc_conpocketoutlookobjectmodel.asp

"Pocket Outlook Object Model

The Pocket Outlook Object Model (POOM) API provides access to Personal
Information Manager (PIM) data on Pocket PCs and Smartphones running
Microsoft Windows Mobile 2000 software and later. The POOM API mirrors
the desktop version of the Outlook Object Model but has a smaller scope of
functionality to accommodate the practical constraints of mobile devices.

The POOM API is a COM-based library that provides programmatic access
to Pocket Outlook data items and their container objects. The POOM API
provides an object-oriented framework for creating, modifying, and displaying
appointment, task, and contact items. It also provides functionality for
manipulating PIM item collections and folders.

Note: The Microsoft Windows Mobile 2003 SDK ships with a code sample,
named "POOMMaster," that uses the POOM API. The default location for the
installed code sample is C:\Program Files\Windows CE Tools\wce420\POCKET
PC 2003\Samples\Win32\Poommaster."

You mentioned comtypes would need to be changed. What else would need to
change to be able to access the POOM interfaces?

Thanks,

~Michael.


--
/**From Digest**/



___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce