Re: [PythonCE] Python 2.5 for Windows CE / ARM

2006-12-12 Thread Bandung

You should either use the CAB install option (ie download the cab file and
place it on your mobile)  or run the install.exe from you desktop when you
are linked to your mobile via ActiveSync.

Make sure that you get the additional files that are missing, ie the Tkinter
files as well as the MySQLite files and place them within the appropriate
directory on your mobile.  The instructions are there in the download.  Or
you can refer to prior message threads on this site.




David Goncalves wrote:
> 
> Hello,
> 
> I'm trying to install Python on my CE device since many time ;)
> I've just found that release of PythonCE (2.5) but unfortunetly
> this version is not working on my device.
> 
> I've the following message : "Python.exe is not a valid CE application".
> 
> My device is running WindowsCE 4.2 on an ARM processor (Intel PXA255).
> 
> Do you think it's just a compil time option to make it compatible or
> there is no chance for me to see it working on my device ? ;)
> 
> Thanks.
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Python-2.5-for-Windows-CE---ARM-tf2715042.html#a7835484
Sent from the Python - pythonce mailing list archive at Nabble.com.

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


Re: [PythonCE] grid manager

2006-12-12 Thread Bandung

Here is another thread that talks about the joys of getting the grid manager
to play nice.

http://mail.python.org/pipermail/python-list/2002-July/155857.html Using The
Grid Manager 




Bandung wrote:
> 
> The following code snippet shows what I use in order to place a frame at
> the top rather than the centre of my screen.
> 
>  --Frame ---
> self.frame1=Frame(Parent)
> # self.frame1.configure(width= 235,height= 150)
> self.frame1.grid(row=0,column=0, sticky=W)
> # self.frame1.place(x=0)
> # self.frame1.configure(bg="green")   
> 
> self.frame3=Frame(Parent)
> # self.frame3.configure(width= 235, )
> self.frame3.grid(row=1,column=0, sticky=W) 
> 
> self.frame4=Frame(Parent)
> # self.frame3.configure(width= 235, )
> self.frame4.grid(row=2,column=0, sticky=W) 
> 
> You will note that frame1 has been positioned using the grid. I set its
> position at row = 0, col = 0.  And by using the parameter "sticky = W", it
> has been left justified.  I could have used sticky= NW but instead, I
> chose to use the another command to force the frame to always be in the
> top left corner.  That is the "place" command.  
> 
>  frame.place(x=0) 
> 
> forces everything into the top left hand corner.
> 
> Hope this helps.
> 
> 
> 
> dave_welch wrote:
>> 
>> When using the grid manager is there any way to set the start of the  
>> grid. For example, I have my window default to the screen size when  
>> it starts running, but when I first use the grid manager (row=0,  
>> column=0) it places the widget at the center of the window. Is there  
>> any way to make row/column (0,0) to start from the top of the window  
>> rather than the center? Thanks.
>> ___
>> PythonCE mailing list
>> PythonCE@python.org
>> http://mail.python.org/mailman/listinfo/pythonce
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/grid-manager-tf2715939.html#a7835420
Sent from the Python - pythonce mailing list archive at Nabble.com.

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


Re: [PythonCE] Programming on Pocket PC's, use Python?

2006-12-12 Thread Bandung

If you want to play around with the PPC before buying one, try using the
following emulator.  It can be run from a usb key.  In that way, you can
take your virtual ppc "anywhere with you".

http://www.furrygoat.com/2005/09/portable_ce_20.html Portable Win CE 

This pocket pc on an usb stick will run all of the currently embedded apps
that ship with WIndows mobile 5.0 as an example.  Plus you can add software
such as pythonce and run it.  FOr whatever reason, I could not get wxPython
to play in this environment so I have scrubbed playing with it.  IT is not
all that stable and  from my experience there seems to be no guarabntee that
an app which runs within the emulator, will run on the hardware device (or
vice versa)

You will be able to see how things work.  The speed of the emulator is not
that great so you may not be able to accurately access if certain software
packages will run fast enough for you.

Anyways, its a good place to start playing with windows mobile apps before
investing any money.  I initially liked working with the emulator because I
could run pocket pc software with a screen resolution of 640 x 480 rather
than that dinky 320 x 240.  But the inability to get a software
configuration that works on the hardware device, to run on the emulator, has
caused me to dump it.

If you want a better understanding of the differences between pythonce and
python, visit the web site.

http://pythonce.sourceforge.net/Wikka/HomePage pythonce 

In general, most features work.  There are some nifty debugging capabilities
that I wished  worked and a number of os and sys functions that aren't there
in the pocket pc version but overall, its a pretty good emulation.  The
biggest problem is with building a GUI that is portable between your desktop
and the pocket pc.  The simplest GUI for me is TKinter but the widgets are
very limited.  I added TkTable which helps a bit.  Plus I have used
BWidgets.  The latter works great on the desktop but one widget, the combo
box blows up on the ppc.



JBirdAngel wrote:
> 
> 
> 
> 
>   
> 
> 
> Hello, 
> 
> i am looking into Pocket PC's and am wanting to better understand the
> options for programming on them.  python is what im most familiar
> with
> on dekstops, but still am not a programmer, i like that it is portable
> and so on, so id like to be able to program on my pocket PC but have
> the program be as cross platform as possible, i dont fully understand
> what all the differences betweeen PythonCE and Python for the desktop
> mean in relation to how it would affect the portability of the
> programs, so i am wondering about that.. 
> 
> also is PythonCE continually and currently being developed? 
> 
> what all are my options for programming on Pocket PC's for a variety of
> platforms or where is the best place to look?  it looks like various
> microsoft things are used alot for pocket PC's but it sounds like they
> are very platform restricted and so not at all what im interested in. 
> 
> ive also seen a couple things like Pocket Programming Language and
> Go-DB, but i am not familiar enough with programming languages to
> udnerstand what all these are capable of, and i would of course prefer
> something that doest cost money. 
> 
> things i might program would range so i cant really specify what
> exactly id be interested in, but i would like to be able to program on
> a Pocket PC for something that is intended for a Desktop, so if i came
> up with some kind of program suited directly to an individual need of
> say a store, i would like to be able to program for it on the pocket PC
> even if its something that no Pocket PC would ever use, is this
> possible? 
> 
> i dont want to be limited and would want the program to work on as wide
> a range of things as possible, the Pocket PC as well as Linux/desktop
> windows.. 
> 
> also i dont know all that much about pocket pc's at this point, i read
> that one of the cons to consider for python is people having to
> download it in order to run the program as well as the size, any
> suggestions for better understanding all the consequences of this? 
> and
> affects of taking up the more space would take? 
> 
> on the newer Pocket PC's that have 400Mhz or up to i think 600mhz(?) 
> is there alot of noticeable slowness with python being interpreted? or
> how can i better understand to compare the possibilities that may be
> open to me as far as programming on a pocket pc. 
> 
> i am very new to pocket pc's and new to python as well but have read
> some on it, but i really dont understand how it all works or the
> differences at this point, for example there is a pocket pc program
> called Pocket Artist that seems to me to have the main features one
> would want from GIMP or Photoshop, yet it takes up like 4mb or
> something? i dont understand how such a featurefull program can take up
> such little space, and why then do desktop programs take up so much
> more space? 
> 
> if this is an improper place for these questions plea

Re: [PythonCE] grid manager

2006-12-12 Thread Bandung

The following code snippet shows what I use in order to place a frame at the
top rather than the centre of my screen.

 --Frame ---
self.frame1=Frame(Parent)
# self.frame1.configure(width= 235,height= 150)
self.frame1.grid(row=0,column=0, sticky=W)
# self.frame1.place(x=0)
# self.frame1.configure(bg="green")   

self.frame3=Frame(Parent)
# self.frame3.configure(width= 235, )
self.frame3.grid(row=1,column=0, sticky=W) 

self.frame4=Frame(Parent)
# self.frame3.configure(width= 235, )
self.frame4.grid(row=2,column=0, sticky=W) 

You will note that frame1 has been positioned using the grid. I set its
position at row = 0, col = 0.  And by using the parameter "sticky = W", it
has been left justified.  I could have used sticky= NW but instead, I chose
to use the another command to force the frame to always be in the top left
corner.  That is the "place" command.  

 frame.place(x=0) 

forces everything into the top left hand corner.

Hope this helps.



dave_welch wrote:
> 
> When using the grid manager is there any way to set the start of the  
> grid. For example, I have my window default to the screen size when  
> it starts running, but when I first use the grid manager (row=0,  
> column=0) it places the widget at the center of the window. Is there  
> any way to make row/column (0,0) to start from the top of the window  
> rather than the center? Thanks.
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
> 
> 

-- 
View this message in context: 
http://www.nabble.com/grid-manager-tf2715939.html#a7835000
Sent from the Python - pythonce mailing list archive at Nabble.com.

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