<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2968</id>
	<title>Nabble - Python - pythonce</title>
	<updated>2009-10-30T06:22:36Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Python---pythonce-f2968.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python---pythonce-f2968.html" />
	<subtitle type="html">Python programming on Windows CE</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26130018</id>
	<title>Re: kbhit type of functionality in PythonCE</title>
	<published>2009-10-30T06:22:36Z</published>
	<updated>2009-10-30T06:22:36Z</updated>
	<author>
		<name>Cazaw</name>
	</author>
	<content type="html">Adam Walley: Not really what I was hoping for but I took your idea and built on it so that if the response to the raw_input is an empty string it repeats the pause. Good enough. Thanks!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Adam Walley wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi, Cazaw.
&lt;br&gt;&lt;br&gt;Welcome to PythonCE. I remember wrestling with similar issues with the
&lt;br&gt;raw_input. AFAIK its features are very limited and it does rather awkwardly
&lt;br&gt;appear over the PythonCE window. You can, of course, position your text
&lt;br&gt;output with some spacing.
&lt;br&gt;&lt;br&gt;If you are satisfied with just a pause before the raw_input window appears
&lt;br&gt;then you can import the time module and use the sleep function (although
&lt;br&gt;this tends to make the OS think the app is not responding). I usually create
&lt;br&gt;a simple loop function instead, when using this method. It would define a
&lt;br&gt;pause function and look something like this:
&lt;br&gt;&lt;br&gt;def pause(t):
&lt;br&gt;&amp;nbsp; &amp;nbsp;t0=time.time()
&lt;br&gt;&amp;nbsp; &amp;nbsp;while time.time()-t0&amp;lt;t:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pass
&lt;br&gt;&lt;br&gt;where 't' is the number of seconds to pause (and can be a decimal if
&lt;br&gt;needed). Then you just call the pause function at the point in your code
&lt;br&gt;where you want to wait.
&lt;br&gt;&lt;br&gt;Unfortunately, I think that any other method whereby (hard or soft) key or
&lt;br&gt;stylus input is used would be non-trivial and requires quite a bit more
&lt;br&gt;effort.
&lt;br&gt;&lt;br&gt;If you have the time to put into it, I would suggest looking into the
&lt;br&gt;PocketPyGUI package or compiling the SDL library and using that (I have some
&lt;br&gt;info on using SDL with PythonCE here: watersprite.awardspace.com/python).
&lt;br&gt;Perhaps other list members have some other suggestions?
&lt;br&gt;&lt;br&gt;Adam.
&lt;br&gt;2009/10/29 Cazaw &amp;lt;cazaw_wow@yahoo.com&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; p.s. - Alternately, if the raw_input could show up in the stdout along with
&lt;br&gt;&amp;gt; the displayed results instead of it's own dialog box, that would be just
&lt;br&gt;&amp;gt; fine and eliminate the problem. Whichever way would be easiest.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26119052.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26119052.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Sent from the Python - pythonce mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; PythonCE mailing list
&lt;br&gt;&amp;gt; PythonCE@python.org
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;PythonCE@python.org
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26130018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26120383</id>
	<title>Re: kbhit type of functionality in PythonCE</title>
	<published>2009-10-29T13:42:46Z</published>
	<updated>2009-10-29T13:42:46Z</updated>
	<author>
		<name>Adam Walley</name>
	</author>
	<content type="html">&lt;div&gt;Hi, Cazaw.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Welcome to PythonCE. I remember wrestling with similar issues with the raw_input. AFAIK its features are very limited and it does rather awkwardly appear over the PythonCE window. You can, of course, position your text output with some spacing.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you are satisfied with just a pause before the raw_input window appears then you can import the time module and use the sleep function (although this tends to make the OS think the app is not responding). I usually create a simple loop function instead, when using this method. It would define a pause function and look something like this:&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;def pause(t):&lt;/div&gt;
&lt;div&gt;   t0=time.time()&lt;/div&gt;
&lt;div&gt;   while time.time()-t0&amp;lt;t:&lt;/div&gt;
&lt;div&gt;      pass&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;where &amp;#39;t&amp;#39; is the number of seconds to pause (and can be a decimal if needed). Then you just call the pause function at the point in your code where you want to wait.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Unfortunately, I think that any other method whereby (hard or soft) key or stylus input is used would be non-trivial and requires quite a bit more effort.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you have the time to put into it, I would suggest looking into the PocketPyGUI package or compiling the SDL library and using that (I have some info on using SDL with PythonCE here: &lt;a href=&quot;http://watersprite.awardspace.com/python&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;watersprite.awardspace.com/python&lt;/a&gt;).&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Perhaps other list members have some other suggestions?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Adam.&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;2009/10/29 Cazaw &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26120383&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cazaw_wow@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;&lt;br&gt;p.s. - Alternately, if the raw_input could show up in the stdout along with&lt;br&gt;the displayed results instead of it&amp;#39;s own dialog box, that would be just&lt;br&gt;
fine and eliminate the problem. Whichever way would be easiest.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26119052.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26119052.html&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class=&quot;h5&quot;&gt;Sent from the Python - pythonce mailing list archive at Nabble.com.&lt;br&gt;&lt;br&gt;_______________________________________________&lt;br&gt;PythonCE mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26120383&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26120383&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26120383.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26119665</id>
	<title>Problem with from os import system</title>
	<published>2009-10-29T12:55:17Z</published>
	<updated>2009-10-29T12:55:17Z</updated>
	<author>
		<name>LocSec</name>
	</author>
	<content type="html">Hi ,
&lt;br&gt;&lt;br&gt;I have a problem for use script python in my pocket pc
&lt;br&gt;&lt;br&gt;error is:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; execfile('/Temp/cool.py')
&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;/Temp/cool.py&amp;quot;, line 26, in &amp;lt;module&amp;gt;
&lt;br&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; from os import system
&lt;br&gt;ImportError: cannot import name system&lt;/b&gt;&lt;br&gt;&lt;br&gt;How to fix this problem?
&lt;br&gt;&lt;br&gt;thank you advance.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-from-os-import-system-tp26119665p26119665.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26119052</id>
	<title>Re: kbhit type of functionality in PythonCE</title>
	<published>2009-10-29T12:11:57Z</published>
	<updated>2009-10-29T12:11:57Z</updated>
	<author>
		<name>Cazaw</name>
	</author>
	<content type="html">p.s. - Alternately, if the raw_input could show up in the stdout along with the displayed results instead of it's own dialog box, that would be just fine and eliminate the problem. Whichever way would be easiest.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26119052.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26114814</id>
	<title>kbhit type of functionality in PythonCE</title>
	<published>2009-10-29T08:05:12Z</published>
	<updated>2009-10-29T08:05:12Z</updated>
	<author>
		<name>Cazaw</name>
	</author>
	<content type="html">I've had only very limited exposure to Python and began only yesterday with PythonCE, so I'm definitely a newbie at it all.
&lt;br&gt;&lt;br&gt;My question seems really basic, but I've not been able to find a simple answer: I have a small program that does a raw_input, processes the entered information and then displays the results. Currently I have it so that after displaying the results it does the raw_input again to get more information to process or, if the input is nothing, end. But the problem is that the raw_input window takes up much of the screen and thus hides most of the previous results. Is there some way to have the program loop/wait/sleep/whatever until any key is pressed and then put up the raw_input window? It's rather frustrating to be 99% of the way to the desired goal and unable to figure out that last little bit.
&lt;br&gt;&lt;br&gt;I'm using PythonCE 2.5 on a Samsung/ATT SGH-i907 running Windows Mobile 6.1 Professional with an ARM920T PXA311 process and 107.94Mb of RAM.
&lt;br&gt;&lt;br&gt;Thanks in advance for any help.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/kbhit-type-of-functionality-in-PythonCE-tp26114814p26114814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25238573</id>
	<title>New user - cannot run PythinCE 2.5 2007 version but can run 2006 version</title>
	<published>2009-09-01T04:04:50Z</published>
	<updated>2009-09-01T04:04:50Z</updated>
	<author>
		<name>Hamish Gunn</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-GB link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Hi
&amp;#8211; I installed the latest version on to my HP iPAQ 2200.&amp;nbsp;
Installation went fine but when I start to run from the link in programs I see no
Python icon but a window.&amp;nbsp; I get an error message saying it cannot find
python.&amp;nbsp; When I run the executable directly nothing happens.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;So
I tried the 2006 version of 2.5.&amp;nbsp; This has a Python icon and starts up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;Is
the latest build broken for iPAQs ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:black'&gt;Regards&lt;/span&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:black'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:black'&gt;Dunkelmann&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;




This e-mail is confidential, if you are not the intended recipient, do not retain/disclose it and please return it to us. Our e-mails are virus scanned but we are not responsible for any damage caused by a virus/alteration of our e-mail by a third party after sending.

For more information on Barrie &amp; Hibbert, visit our website http://www.barrhibb.com/ 

 

Barrie &amp; Hibbert Limited (SC157210) is registered in Scotland at 7 Exchange Crescent, Conference Square, Edinburgh EH3 8RD.
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25238573&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-user---cannot-run-PythinCE-2.5-2007-version-but-can-run-2006-version-tp25238573p25238573.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24807106</id>
	<title>PythonCE, Apache and CGI?</title>
	<published>2009-08-04T05:00:05Z</published>
	<updated>2009-08-04T05:00:05Z</updated>
	<author>
		<name>Will Hawes-2</name>
	</author>
	<content type="html">I've got perl CGI scripts running on Apache on a Windows Mobile 6
&lt;br&gt;device using &lt;a href=&quot;http://www.rainer-keuchel.de/wince/apache-ce.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.rainer-keuchel.de/wince/apache-ce.html&lt;/a&gt;&amp;nbsp;and
&lt;br&gt;&lt;a href=&quot;http://perlce.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://perlce.sourceforge.net/&lt;/a&gt;. I'm trying to get Python working in
&lt;br&gt;the same way, which seems as though it might be possible, but have hit
&lt;br&gt;a problem.
&lt;br&gt;&lt;br&gt;With the device connected via ActiveSync, I tried accessing the
&lt;br&gt;following python script via &amp;quot;&lt;a href=&quot;http://169.254.2.1/cgi-bin/test.py&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://169.254.2.1/cgi-bin/test.py&lt;/a&gt;&amp;quot;:
&lt;br&gt;&lt;br&gt;#!/python25/python.exe
&lt;br&gt;&lt;br&gt;print &amp;quot;Content-type: text/html\n\n&amp;quot;
&lt;br&gt;&lt;br&gt;This resulted in the PythonCE shell popping up on the device, where it
&lt;br&gt;appeared to generate the correct output, but the output was not sent
&lt;br&gt;to the browser.
&lt;br&gt;&lt;br&gt;I read about the &amp;quot;/nopcceshell&amp;quot; switch on the PythonCE wiki so tried
&lt;br&gt;this instead:
&lt;br&gt;&lt;br&gt;#!/python25/python.exe /nopcceshell
&lt;br&gt;&lt;br&gt;print &amp;quot;Content-type: text/html\n\n&amp;quot;
&lt;br&gt;&lt;br&gt;The web browser still hangs, but the PythonCE shell no longer appears
&lt;br&gt;on the device. Instead I see the following error on the device:
&lt;br&gt;&lt;br&gt;Traceback (innermost last):
&lt;br&gt;&amp;nbsp;File &amp;quot;\apache\cgi-bin\test.py&amp;quot;, line 3, in &amp;lt;module&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;print &amp;quot;Content-type: text/html\n\n&amp;quot;
&lt;br&gt;&amp;lt;type 'exceptions.IOError'&amp;gt;: [Errno 2] The system cannot find the file specified
&lt;br&gt;&lt;br&gt;Evidently Python is finding and trying to execute test.py - my guess
&lt;br&gt;is that this error relates to either STDOUT or STDERR. Can anyone shed
&lt;br&gt;any light on this, or better still provide a workaround?
&lt;br&gt;&lt;br&gt;Thanks, Will
&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24807106&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PythonCE%2C-Apache-and-CGI--tp24807106p24807106.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24750682</id>
	<title>windows mobile 6.5</title>
	<published>2009-07-30T20:58:49Z</published>
	<updated>2009-07-30T20:58:49Z</updated>
	<author>
		<name>Jair Gaxiola</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;I have app developed at wxPython, but I need runs wxpython and python in windows mobile 6.5 , I read &lt;a href=&quot;http://wxpyce.wikispaces.com/Build&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://wxpyce.wikispaces.com/Build&lt;/a&gt; exist other way? &lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;SIN ETIQUETAS.[ PUNTO ]&lt;br&gt;&lt;a href=&quot;http://jyr.tumblr.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://jyr.tumblr.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.opentumblr.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opentumblr.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24750682&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/windows-mobile-6.5-tp24750682p24750682.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24034116</id>
	<title>Re: Global defpaths error while building Python</title>
	<published>2009-06-15T05:53:23Z</published>
	<updated>2009-06-15T05:53:23Z</updated>
	<author>
		<name>Sini Mäkelä</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As per the readme.txt , i executed the scons cab, but i'm getting the below
&lt;br&gt;&amp;gt; errors.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please help me to resolve this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; C:\Source\python-wince\PCbuild\WinCE&amp;gt;scons
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; scons: Reading SConscript files ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;lt;type 'exceptions.NameError'&amp;gt;: global name
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 'defpaths'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; is not defined:
&lt;/div&gt;&lt;br&gt;I'm sure there is some proper way to fix that problem and somebody
&lt;br&gt;might tell us how, but I just ended up setting the exe_path as
&lt;br&gt;follows:
&lt;br&gt;&lt;br&gt;exe_path = r'C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\wce420\bin'
&lt;br&gt;&lt;br&gt;I didn't have to set the other paths, as the script was able to find
&lt;br&gt;the other registry values and didn't end up in those exception
&lt;br&gt;handlers that would have called for non-existing defpaths.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;- Sini
&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24034116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-defpaths-error-while-building-Python-tp24032629p24034116.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24032629</id>
	<title>Global defpaths error while building Python</title>
	<published>2009-06-15T04:01:22Z</published>
	<updated>2009-06-15T04:01:22Z</updated>
	<author>
		<name>rajashekhar v</name>
	</author>
	<content type="html">Hi Group, &lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;font size=&quot;4&quot;&gt;&lt;i&gt;I have download pythonce source, and try to build&lt;/i&gt;&lt;i&gt; it&lt;/i&gt;&lt;i&gt; to generate CAB file&lt;/i&gt;&lt;i&gt;.&lt;br&gt;&lt;br&gt;I have downloaded and installed all the below requirements which are mentioned in the readme-wince.txt.&lt;br&gt;
- Python 2.5 for Windows, installed on your PC&lt;br&gt;- Microsoft eMbedded Visual C++ 4.0 with Service Pack 4&lt;br&gt;- Pocket PC 2003 SDK&lt;br&gt;&lt;br&gt;As per the readme.txt , i executed the scons cab, but i&amp;#39;m getting the below errors.&lt;br&gt;
Please help me to resolve this.&lt;br&gt;&lt;br&gt;&lt;/i&gt;&lt;b&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&amp;gt;&amp;gt;&lt;i&gt; &amp;gt; C:\Source\python-wince\PCbuild\WinCE&amp;gt;scons&lt;br&gt;&lt;/i&gt;&amp;gt;&amp;gt;&lt;i&gt; &amp;gt; scons: Reading SConscript files ...&lt;br&gt;&lt;/i&gt;&amp;gt;&amp;gt;&lt;i&gt; &amp;gt; &amp;lt;type &amp;#39;exceptions.NameError&amp;#39;&amp;gt;: global name&lt;br&gt;
&lt;/i&gt;&amp;gt;&amp;gt;&lt;i&gt; &amp;#39;defpaths&amp;#39;&lt;br&gt;&lt;/i&gt;&amp;gt;&amp;gt;&lt;/b&gt;&lt;i&gt;&lt;b&gt; &amp;gt; is not defined:&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;In the pythonce group some one has faced the same problem and reply was like this.&lt;br&gt;&lt;/i&gt;&lt;b&gt;I got the same problem trying to compile PythonCE.&lt;br&gt;
I resolved it by creating en empty &lt;strong&gt;&amp;#39;defpaths&amp;#39;&lt;/strong&gt; list on line 365 of msevc.py&lt;br&gt;and manually added &amp;#39;include_path&amp;#39;, &amp;#39;lib_path&amp;#39; and &amp;#39;exe_path&amp;#39; to it.&lt;/b&gt;&lt;br&gt;&lt;br&gt;As per this suggestion, manually add the paths of what ??&lt;br&gt;
include_path = ??&lt;br&gt;lib_path = ??&lt;br&gt;exe_path = ??&lt;br&gt;&lt;br&gt;Please help me .&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks, &lt;br&gt;Rajashekhar&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24032629&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Global-defpaths-error-while-building-Python-tp24032629p24032629.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23988394</id>
	<title>Re: packaging app into cab's</title>
	<published>2009-06-11T13:25:14Z</published>
	<updated>2009-06-11T13:25:14Z</updated>
	<author>
		<name>Alex Mandel-2</name>
	</author>
	<content type="html">I won't have time to find/write the documentation on this stuff for a
&lt;br&gt;few days but here are all the files.
&lt;br&gt;&lt;br&gt;Cabbuilder, a wxpython app that helps you build CAB files
&lt;br&gt;Requires the Win CE 4.2 library since it's just a wrapper around the
&lt;br&gt;microsoft cab tools.
&lt;br&gt;&lt;a href=&quot;https://code.launchpad.net/~wildintellect/+junk/cabbuilder&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.launchpad.net/~wildintellect/+junk/cabbuilder&lt;/a&gt;&lt;br&gt;&lt;br&gt;PDA-Backup, A tcl/tk python app for windows mobile, the nsi file
&lt;br&gt;demonstrates how to package mutliple CAB files, including the pythonce
&lt;br&gt;into a single desktop installer someone can run.
&lt;br&gt;&lt;a href=&quot;https://code.launchpad.net/~wildintellect/+junk/pdabackup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://code.launchpad.net/~wildintellect/+junk/pdabackup&lt;/a&gt;&lt;br&gt;&lt;br&gt;You can browse down to the individual files or poke around the help on
&lt;br&gt;Launchpad and Bazaar to grab a copy of the source code for everything.
&lt;br&gt;You have to click on &amp;quot;all revisions&amp;quot; at the bottom of those pages to
&lt;br&gt;browse the files.
&lt;br&gt;&lt;br&gt;It's GPLv3 for now(except for the parts that aren't mine like tcl/tk and
&lt;br&gt;python), I'm probably missing that statement from most of the files.
&lt;br&gt;I'll be more than happy to seed projects if people want to improve the
&lt;br&gt;code, it hasn't been worked on for 1 year and probably won't be since
&lt;br&gt;it's from an old job.
&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;Alex Mandel wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Give me a few minutes to find it but I wrote some scripts to make this
&lt;br&gt;&amp;gt; easier. The basics I have a python app with gui that lets you pick
&lt;br&gt;&amp;gt; whatever files you want, then builds the ini for the pocket pc sdk cab
&lt;br&gt;&amp;gt; builder(from microsoft), builds a cab. Then you take that cab and modify
&lt;br&gt;&amp;gt; an NSIS script that already references a pythonce install and add the
&lt;br&gt;&amp;gt; cab to the list of things to install, this uses activesync to detect if
&lt;br&gt;&amp;gt; it's already installed and if the version has changed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Alex
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jared Forsyth wrote:
&lt;br&gt;&amp;gt;&amp;gt; unfortunately there aren't any packages that specifically package pythonce
&lt;br&gt;&amp;gt;&amp;gt; along side -- the best you can do (which is what i do) is just provide a
&lt;br&gt;&amp;gt;&amp;gt; link to the pythonce cab -- that way they won't need to install pythonce
&lt;br&gt;&amp;gt;&amp;gt; more than once if they want more than one of your packages.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; jared
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Jun 11, 2009 at 4:00 AM, David Goncalves &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23988394&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david-pyceml@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;I've been playing around with pythonce on my windows mobile phone and am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; very impressed by it. I was wondering if anyone can point me to some good
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; resources for packaging pythonce and my application into one installable
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cab.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If you are using Linux you can use the 'pocketpc-cab' package that contains
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; tools for creating CAB files.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If you are using Windows system you can look at 'WinCECabManager'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (shareware) that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; does the same thing (with a gui).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hope that helps.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23988394&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/packaging-app-into-cab%27s-tp23969873p23988394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23987253</id>
	<title>Re: packaging app into cab's</title>
	<published>2009-06-11T12:12:01Z</published>
	<updated>2009-06-11T12:12:01Z</updated>
	<author>
		<name>Alex Mandel-2</name>
	</author>
	<content type="html">Give me a few minutes to find it but I wrote some scripts to make this
&lt;br&gt;easier. The basics I have a python app with gui that lets you pick
&lt;br&gt;whatever files you want, then builds the ini for the pocket pc sdk cab
&lt;br&gt;builder(from microsoft), builds a cab. Then you take that cab and modify
&lt;br&gt;an NSIS script that already references a pythonce install and add the
&lt;br&gt;cab to the list of things to install, this uses activesync to detect if
&lt;br&gt;it's already installed and if the version has changed.
&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;Jared Forsyth wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; unfortunately there aren't any packages that specifically package pythonce
&lt;br&gt;&amp;gt; along side -- the best you can do (which is what i do) is just provide a
&lt;br&gt;&amp;gt; link to the pythonce cab -- that way they won't need to install pythonce
&lt;br&gt;&amp;gt; more than once if they want more than one of your packages.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jared
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Jun 11, 2009 at 4:00 AM, David Goncalves &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23987253&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david-pyceml@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;I've been playing around with pythonce on my windows mobile phone and am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; very impressed by it. I was wondering if anyone can point me to some good
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; resources for packaging pythonce and my application into one installable
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cab.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you are using Linux you can use the 'pocketpc-cab' package that contains
&lt;br&gt;&amp;gt;&amp;gt; tools for creating CAB files.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you are using Windows system you can look at 'WinCECabManager'
&lt;br&gt;&amp;gt;&amp;gt; (shareware) that
&lt;br&gt;&amp;gt;&amp;gt; does the same thing (with a gui).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hope that helps.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23987253&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/packaging-app-into-cab%27s-tp23969873p23987253.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23985340</id>
	<title>Re: Help required to send keys for Windows mobile</title>
	<published>2009-06-11T10:05:38Z</published>
	<updated>2009-06-11T10:05:38Z</updated>
	<author>
		<name>nimret</name>
	</author>
	<content type="html">Hi Rajashekhar -
&lt;br&gt;&lt;br&gt;have you looked at the various gui toolkits for pythonce? I believe that's 
&lt;br&gt;what you have to use to accept user input. I downloaded ppygui to my HTC 
&lt;br&gt;mogul and it's working great on it.
&lt;br&gt;&lt;br&gt;I also liked the installer for ppygui but I did have to tweak the folder name 
&lt;br&gt;that I extracted it out to match the name in the install script. you may run 
&lt;br&gt;into this issue depending on which folder you extract the contents of ppygui 
&lt;br&gt;to before running the install script.
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;-- 
&lt;br&gt;Nimret Sandhu
&lt;br&gt;&lt;a href=&quot;http://www.nimret.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nimret.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.nimsoft.biz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nimsoft.biz&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Thursday 11 June 2009 02:15:32 am rajashekhar v wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Group,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm Rajashekhar and newfor the Python CE on the windows mobile environment.
&lt;br&gt;&amp;gt; I have HTC mobile and i have installed the PythonCE 2.5 uisng the
&lt;br&gt;&amp;gt; PythonCE.WM.CAB&amp;lt;&lt;a href=&quot;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/Python&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/Python&lt;/a&gt;&lt;br&gt;&amp;gt;CE.WM.CAB&amp;gt;from &lt;a href=&quot;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm writing some scripts on python to invoke particular applications from
&lt;br&gt;&amp;gt; idle screen and send keys to do action related to those keys.
&lt;br&gt;&amp;gt; for e.g When i execute the Python scripit it should open the calendar by
&lt;br&gt;&amp;gt; sending Left Soft Key(LSK) and it has to open Menu if i send Right Soft
&lt;br&gt;&amp;gt; Key(RSK).
&lt;br&gt;&amp;gt; Here, I'm facing one problem related sending the keystrokes, how can i send
&lt;br&gt;&amp;gt; the keystokes from pyton scripts ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any modules which are there for windows mobile, if it is there please
&lt;br&gt;&amp;gt; mention where can i get it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; **And also I have few source files written in C language to do the above
&lt;br&gt;&amp;gt; functionality, how can I build these to .pyd for *windows mobile
&lt;br&gt;&amp;gt; environment. *
&lt;br&gt;&amp;gt; Any ideas or suggestion please let me know.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Rajashekhar
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23985340&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-required-to-send-keys-for-Windows-mobile-tp23978020p23985340.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23985328</id>
	<title>Re: packaging app into cab's</title>
	<published>2009-06-11T10:04:17Z</published>
	<updated>2009-06-11T10:04:17Z</updated>
	<author>
		<name>nimret</name>
	</author>
	<content type="html">yeah, I think I'll probably end up with this solution also. As you mention 
&lt;br&gt;that way at least they won't have to install it twice.
&lt;br&gt;&lt;br&gt;thanks for the responses folks.
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;-- 
&lt;br&gt;Nimret Sandhu
&lt;br&gt;&lt;a href=&quot;http://www.nimret.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nimret.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.nimsoft.biz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nimsoft.biz&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Thursday 11 June 2009 05:37:47 am Jared Forsyth wrote:
&lt;br&gt;&amp;gt; unfortunately there aren't any packages that specifically package pythonce
&lt;br&gt;&amp;gt; along side -- the best you can do (which is what i do) is just provide a
&lt;br&gt;&amp;gt; link to the pythonce cab -- that way they won't need to install pythonce
&lt;br&gt;&amp;gt; more than once if they want more than one of your packages.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jared
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Jun 11, 2009 at 4:00 AM, David Goncalves 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23985328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david-pyceml@...&lt;/a&gt;&amp;gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;I've been playing around with pythonce on my windows mobile phone and am
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; very impressed by it. I was wondering if anyone can point me to some
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; good resources for packaging pythonce and my application into one
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; installable cab.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you are using Linux you can use the 'pocketpc-cab' package that
&lt;br&gt;&amp;gt; &amp;gt; contains tools for creating CAB files.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you are using Windows system you can look at 'WinCECabManager'
&lt;br&gt;&amp;gt; &amp;gt; (shareware) that
&lt;br&gt;&amp;gt; &amp;gt; does the same thing (with a gui).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hope that helps.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; PythonCE mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23985328&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23985328&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/packaging-app-into-cab%27s-tp23969873p23985328.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23980611</id>
	<title>Re: packaging app into cab's</title>
	<published>2009-06-11T05:37:47Z</published>
	<updated>2009-06-11T05:37:47Z</updated>
	<author>
		<name>jabapyth</name>
	</author>
	<content type="html">unfortunately there aren&amp;#39;t any packages that specifically package pythonce along side -- the best you can do (which is what i do) is just provide a link to the pythonce cab -- that way they won&amp;#39;t need to install pythonce more than once if they want more than one of your packages.&lt;br&gt;

&lt;br&gt;jared &lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Jun 11, 2009 at 4:00 AM, David Goncalves &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23980611&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david-pyceml@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Hi,&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I&amp;#39;ve been playing around with pythonce on my windows mobile phone and am very impressed by it. I was wondering if anyone can point me to some good resources for packaging pythonce and my application into one installable cab.&lt;br&gt;


&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
If you are using Linux you can use the &amp;#39;pocketpc-cab&amp;#39; package that contains&lt;br&gt;
tools for creating CAB files.&lt;br&gt;
&lt;br&gt;
If you are using Windows system you can look at &amp;#39;WinCECabManager&amp;#39; (shareware) that&lt;br&gt;
does the same thing (with a gui).&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Hope that helps.&lt;br&gt;
&lt;br&gt;
Regards.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
PythonCE mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23980611&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23980611&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/packaging-app-into-cab%27s-tp23969873p23980611.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23978020</id>
	<title>Help required to send keys for Windows mobile</title>
	<published>2009-06-11T02:15:32Z</published>
	<updated>2009-06-11T02:15:32Z</updated>
	<author>
		<name>rajashekhar v</name>
	</author>
	<content type="html">Hi Group, &lt;br&gt;&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;I&amp;#39;m Rajashekhar and newfor the Python CE on the windows mobile environment.&lt;br&gt;I have HTC mobile and i have installed the PythonCE 2.5 uisng the &lt;a href=&quot;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/PythonCE.WM.CAB&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;PythonCE.WM.CAB&lt;/a&gt; from &lt;a href=&quot;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.heanet.ie/disk1/sourceforge/p/py/pythonce/&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;I&amp;#39;m writing some scripts on python to invoke particular applications from idle screen and send keys to do action related to those keys.&lt;br&gt;for e.g When i execute the Python scripit it should open the calendar by sending Left Soft Key(LSK) and it has to open Menu if i send Right Soft Key(RSK).&lt;br&gt;
Here, I&amp;#39;m facing one problem related sending the keystrokes, how can i send the keystokes from pyton scripts ?&lt;br&gt;&lt;br&gt;Any modules which are there for windows mobile, if it is there please mention where can i get it.&lt;br&gt;
&lt;br&gt;&lt;u&gt;&lt;/u&gt;And also I have few source files written in C language to do the above functionality, how can I build these to .pyd for &lt;u&gt;&lt;b&gt;windows mobile environment. &lt;/b&gt;&lt;/u&gt;&lt;br&gt;Any ideas or suggestion please let me know.&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;Thanks, &lt;br&gt;Rajashekhar&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23978020&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-required-to-send-keys-for-Windows-mobile-tp23978020p23978020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23977022</id>
	<title>Re: packaging app into cab's</title>
	<published>2009-06-11T01:00:27Z</published>
	<updated>2009-06-11T01:00:27Z</updated>
	<author>
		<name>David Goncalves-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;gt; I've been playing around with pythonce on my windows mobile phone and am very 
&lt;br&gt;&amp;gt; impressed by it. I was wondering if anyone can point me to some good 
&lt;br&gt;&amp;gt; resources for packaging pythonce and my application into one installable cab.
&lt;br&gt;&lt;br&gt;If you are using Linux you can use the 'pocketpc-cab' package that contains
&lt;br&gt;tools for creating CAB files.
&lt;br&gt;&lt;br&gt;If you are using Windows system you can look at 'WinCECabManager' 
&lt;br&gt;(shareware) that
&lt;br&gt;does the same thing (with a gui).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope that helps.
&lt;br&gt;&lt;br&gt;Regards.
&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23977022&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/packaging-app-into-cab%27s-tp23969873p23977022.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23969873</id>
	<title>packaging app into cab's</title>
	<published>2009-06-10T12:57:28Z</published>
	<updated>2009-06-10T12:57:28Z</updated>
	<author>
		<name>nimret</name>
	</author>
	<content type="html">Hi Folks -
&lt;br&gt;&lt;br&gt;I've been playing around with pythonce on my windows mobile phone and am very 
&lt;br&gt;impressed by it. I was wondering if anyone can point me to some good 
&lt;br&gt;resources for packaging pythonce and my application into one installable cab.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;-- 
&lt;br&gt;Nimret Sandhu
&lt;br&gt;&lt;a href=&quot;http://www.nimret.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nimret.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.nimsoft.biz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nimsoft.biz&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23969873&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/packaging-app-into-cab%27s-tp23969873p23969873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23808380</id>
	<title>Re: (Solved!) Using serial ports</title>
	<published>2009-05-31T17:19:41Z</published>
	<updated>2009-05-31T17:19:41Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;It seems the problem is triggered by setting the baudrate prior to
&lt;br&gt;calling the '.open()' method.
&lt;br&gt;&lt;br&gt;The following works:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; from ceserial import Serial, SerialException
&lt;br&gt;&amp;nbsp; &amp;nbsp; port = Serial(port='COM1:')
&lt;br&gt;&amp;nbsp; &amp;nbsp; port.open()
&lt;br&gt;&amp;nbsp; &amp;nbsp; port.baudrate = 115200
&lt;br&gt;&lt;br&gt;The following fails:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; from ceserial import Serial, SerialException
&lt;br&gt;&amp;nbsp; &amp;nbsp; port = Serial(port='COM1:')
&lt;br&gt;&amp;nbsp; &amp;nbsp; port.baudrate = 115200
&lt;br&gt;&amp;nbsp; &amp;nbsp; port.open()
&lt;br&gt;&lt;br&gt;This fails too:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; from ceserial import Serial, SerialException
&lt;br&gt;&amp;nbsp; &amp;nbsp; port = Serial(port='COM1:', baudrate=115200)
&lt;br&gt;&amp;nbsp; &amp;nbsp; port.open()
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;On Mon, 2009-06-01 at 09:27 +1200, David McNab wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, 2009-05-31 at 23:08 +1200, David McNab wrote:
&lt;br&gt;&amp;gt; &amp;gt; Also, I tried the 'ceserial.py' module which has popped up on some
&lt;br&gt;&amp;gt; &amp;gt; discussions, but it crashes in its Serial.open() method with a most
&lt;br&gt;&amp;gt; &amp;gt; unhelpful exception string '50'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; More info on that:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Seems that Serial.open() gets a bad return code when it calls
&lt;br&gt;&amp;gt; windll.coredll.SetupComm() to set the buffer sizes. If I comment out the
&lt;br&gt;&amp;gt; exception, then self._configurePort crashes with the same exception.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm trying to open COM1: on an h4350.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can anyone please shed some light.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; PythonCE mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23808380&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23808380&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-serial-ports-tp23802086p23808380.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23807092</id>
	<title>Re: Using serial ports</title>
	<published>2009-05-31T14:27:34Z</published>
	<updated>2009-05-31T14:27:34Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">On Sun, 2009-05-31 at 23:08 +1200, David McNab wrote:
&lt;br&gt;&amp;gt; Also, I tried the 'ceserial.py' module which has popped up on some
&lt;br&gt;&amp;gt; discussions, but it crashes in its Serial.open() method with a most
&lt;br&gt;&amp;gt; unhelpful exception string '50'.
&lt;br&gt;&lt;br&gt;More info on that:
&lt;br&gt;&lt;br&gt;Seems that Serial.open() gets a bad return code when it calls
&lt;br&gt;windll.coredll.SetupComm() to set the buffer sizes. If I comment out the
&lt;br&gt;exception, then self._configurePort crashes with the same exception.
&lt;br&gt;&lt;br&gt;I'm trying to open COM1: on an h4350.
&lt;br&gt;&lt;br&gt;Can anyone please shed some light.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23807092&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-serial-ports-tp23802086p23807092.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23805314</id>
	<title>ceserial switch off problem</title>
	<published>2009-05-31T10:45:08Z</published>
	<updated>2009-05-31T10:45:08Z</updated>
	<author>
		<name>Michael Wack</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm using the ceserial module of Ben McBride. Everything is working 
&lt;br&gt;great (Thanks to the author!) as long as I do not switch off my PDA 
&lt;br&gt;(Pocket Loox N560, WM5). Switching off the device while my pythonce 
&lt;br&gt;program is running causes the serial port to stop working. After 
&lt;br&gt;restarting the program the serial port works as expected again. I tried 
&lt;br&gt;to find a workaround. Tried to catch SerialException to close and reopen 
&lt;br&gt;the serial port. I also integrated a manual function that allows to 
&lt;br&gt;close the port before switching off. Even deleting and recreating the 
&lt;br&gt;serial object doesn't help. Does anyone have an idea how to reestablish 
&lt;br&gt;serial communication after reactivating the PDA without restarting the 
&lt;br&gt;whole pythonce program? Thanks a lot for any answer!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sincerely, Michael
&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23805314&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ceserial-switch-off-problem-tp23805314p23805314.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23802086</id>
	<title>Using serial ports</title>
	<published>2009-05-31T04:08:31Z</published>
	<updated>2009-05-31T04:08:31Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm able to open COM1: serial port with the usual file() function, and
&lt;br&gt;write to it with the normal write() method.
&lt;br&gt;&lt;br&gt;But how do I set the speed and other line parameters?
&lt;br&gt;&lt;br&gt;If I try to import the 'tty' module it complains that there's no
&lt;br&gt;'termios' module.
&lt;br&gt;&lt;br&gt;Also, I tried the 'ceserial.py' module which has popped up on some
&lt;br&gt;discussions, but it crashes in its Serial.open() method with a most
&lt;br&gt;unhelpful exception string '50'.
&lt;br&gt;&lt;br&gt;What's the best way to go about using serial ports in pythonce?
&lt;br&gt;&lt;br&gt;Thanks in advance for your help
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23802086&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-serial-ports-tp23802086p23802086.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23755088</id>
	<title>Re: Issuing WM_COMMAND</title>
	<published>2009-05-27T20:22:26Z</published>
	<updated>2009-05-27T20:22:26Z</updated>
	<author>
		<name>alexandre.delattre</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=FR link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Hello Marc,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;It is possible to send WM_COMMAND messages with pythonce, using
ctypes to interface native win32 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt; Functions:&lt;br&gt;
&lt;br&gt;
from ctypes import *&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;SendMessage = cdll.coredll.SendMessageW&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;WM_COMMAND = 0x111&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;SendMessage(hwnd, WM_COMMAND, wparam, lparam)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;You can wrap other functions with ctypes to get the hwnd of the
window you want.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Hope it helps,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Alex&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;De&amp;nbsp;:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23755088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pythonce-bounces+alexandre.delattre=telecom-bretagne.eu@...&lt;/a&gt;
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23755088&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pythonce-bounces+alexandre.delattre=telecom-bretagne.eu@...&lt;/a&gt;] &lt;b&gt;De
la part de&lt;/b&gt; Marc Grondin&lt;br&gt;
&lt;b&gt;Envoyé&amp;nbsp;:&lt;/b&gt; mercredi 27 mai 2009 18:56&lt;br&gt;
&lt;b&gt;À&amp;nbsp;:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23755088&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pythonce@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Objet&amp;nbsp;:&lt;/b&gt; [PythonCE] Issuing WM_COMMAND&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Hello everyone,&lt;br&gt;
I'm fairly new to python and pythonce and i have a quaetion. Is it possibble to
issue WM_COMMANDS on a WM device using pythonCE?(i have ver 2.5 from october)&lt;br clear=all&gt;
&lt;br&gt;
-- &lt;br&gt;
C-ya Later Take Care&lt;br&gt;
Marc Grondin&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23755088&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issuing-WM_COMMAND-tp23746564p23755088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23746564</id>
	<title>Issuing WM_COMMAND</title>
	<published>2009-05-27T09:56:07Z</published>
	<updated>2009-05-27T09:56:07Z</updated>
	<author>
		<name>Marc Grondin-2</name>
	</author>
	<content type="html">Hello everyone,&lt;br&gt;I&amp;#39;m fairly new to python and pythonce and i have a quaetion. Is it possibble to issue WM_COMMANDS on a WM device using pythonCE?(i have ver 2.5 from october)&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;C-ya Later Take Care&lt;br&gt;

Marc Grondin&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23746564&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issuing-WM_COMMAND-tp23746564p23746564.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23698283</id>
	<title>[Fwd: Re:  Bluetooth examples?]</title>
	<published>2009-05-24T14:24:07Z</published>
	<updated>2009-05-24T14:24:07Z</updated>
	<author>
		<name>Alex Mandel-2</name>
	</author>
	<content type="html">Looks like I forgot to send to the list
&lt;br&gt;&lt;br&gt;-------- Original Message --------
&lt;br&gt;As far as I remember on PPC it's treated as a serial device, and if you
&lt;br&gt;trigger to open that device (Usually COM7) it will use the built-in
&lt;br&gt;discovery and connect tools.
&lt;br&gt;&lt;br&gt;So this code should work, I'm pretty sure I used it with a bluetooth gps.
&lt;br&gt;&lt;a href=&quot;http://www.siafoo.net/library/23&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.siafoo.net/library/23&lt;/a&gt;&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;René Dudfield wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hello...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After a little googling I found this...
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/pipermail/pythonce/2007-January/001747.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/pipermail/pythonce/2007-January/001747.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you do figure out a way please let me know... I'd probably find this
&lt;br&gt;&amp;gt; useful too :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cu,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, May 20, 2009 at 8:41 PM, David McNab &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23698283&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rebirth@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Does anyone have any examples of Bluetooth programming for PocketPC in
&lt;br&gt;&amp;gt;&amp;gt; Python?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Specifically I'm wanting to write a PocketPC python program to:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;- discover nearby bluetooth devices
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;- connect to one of these
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;- send and receive data
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;- close the connection
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;&amp;gt; David
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; PythonCE mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23698283&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; PythonCE mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23698283&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23698283&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Fwd%3A-Re%3A--Bluetooth-examples---tp23698283p23698283.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23647853</id>
	<title>Re: Bluetooth examples?</title>
	<published>2009-05-20T21:49:56Z</published>
	<updated>2009-05-20T21:49:56Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">On Wed, 2009-05-20 at 20:52 +1000, René Dudfield wrote:
&lt;br&gt;&amp;gt; hello...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After a little googling I found this...
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/pipermail/pythonce/2007-January/001747.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/pipermail/pythonce/2007-January/001747.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you do figure out a way please let me know... I'd probably find
&lt;br&gt;&amp;gt; this useful too :)
&lt;br&gt;&lt;br&gt;FWICT the best approach would be to trawl through the bluetooth API docs
&lt;br&gt;in MSDN (maybe starting somewhere like
&lt;br&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms898944.aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/ms898944.aspx&lt;/a&gt;), then port a
&lt;br&gt;couple of the example programs from C/C++ to python using ctypes.
&lt;br&gt;&lt;br&gt;This is a lot of work, to get past all the 'surprises' and come up with
&lt;br&gt;some robust working code. If anyone can help with a shortcut, please let
&lt;br&gt;us know.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23647853&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bluetooth-examples--tp23633025p23647853.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23633174</id>
	<title>Re: Bluetooth examples?</title>
	<published>2009-05-20T03:52:30Z</published>
	<updated>2009-05-20T03:52:30Z</updated>
	<author>
		<name>René Dudfield</name>
	</author>
	<content type="html">hello...&lt;br&gt;&lt;br&gt;After a little googling I found this...&lt;br&gt;&lt;a href=&quot;http://mail.python.org/pipermail/pythonce/2007-January/001747.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/pipermail/pythonce/2007-January/001747.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you do figure out a way please let me know... I&amp;#39;d probably find this useful too :)&lt;br&gt;
&lt;br&gt;&lt;br&gt;cu,&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, May 20, 2009 at 8:41 PM, David McNab &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23633174&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rebirth@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi,&lt;br&gt;
&lt;br&gt;
Does anyone have any examples of Bluetooth programming for PocketPC in&lt;br&gt;
Python?&lt;br&gt;
&lt;br&gt;
Specifically I&amp;#39;m wanting to write a PocketPC python program to:&lt;br&gt;
 - discover nearby bluetooth devices&lt;br&gt;
 - connect to one of these&lt;br&gt;
 - send and receive data&lt;br&gt;
 - close the connection&lt;br&gt;
&lt;br&gt;
Cheers&lt;br&gt;
David&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
PythonCE mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23633174&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23633174&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bluetooth-examples--tp23633025p23633174.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23633025</id>
	<title>Bluetooth examples?</title>
	<published>2009-05-20T03:41:48Z</published>
	<updated>2009-05-20T03:41:48Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Does anyone have any examples of Bluetooth programming for PocketPC in
&lt;br&gt;Python?
&lt;br&gt;&lt;br&gt;Specifically I'm wanting to write a PocketPC python program to:
&lt;br&gt;&amp;nbsp;- discover nearby bluetooth devices
&lt;br&gt;&amp;nbsp;- connect to one of these
&lt;br&gt;&amp;nbsp;- send and receive data
&lt;br&gt;&amp;nbsp;- close the connection
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23633025&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bluetooth-examples--tp23633025p23633025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23614058</id>
	<title>Re: very slow XMLRPCServer</title>
	<published>2009-05-19T04:06:20Z</published>
	<updated>2009-05-19T04:06:20Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">On Mon, 2009-05-18 at 16:17 -0500, Warren Lindsey wrote:
&lt;br&gt;&amp;gt; Sounds like this might be dns related. &amp;nbsp;If the server is doing reverse
&lt;br&gt;&amp;gt; lookups (and subsequent timeouts) for every incoming connection it can
&lt;br&gt;&amp;gt; be quite slow.
&lt;br&gt;&lt;br&gt;Thanks for the lead.
&lt;br&gt;&lt;br&gt;Turns out that was exactly the problem. The address_string() method in
&lt;br&gt;BaseHTTPRequestHandler does a .getfqdn with each logging call.
&lt;br&gt;&lt;br&gt;I worked around it by overriding .log_message().
&lt;br&gt;&lt;br&gt;Result is that my XML-RPC filesystem is now working, and I can now
&lt;br&gt;'mount' my iPaq into my Linux filesystem via WLAN.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23614058&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/very-slow-XMLRPCServer-tp23587963p23614058.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23605614</id>
	<title>Re: very slow XMLRPCServer</title>
	<published>2009-05-18T14:17:31Z</published>
	<updated>2009-05-18T14:17:31Z</updated>
	<author>
		<name>elwarren</name>
	</author>
	<content type="html">Sounds like this might be dns related. &amp;nbsp;If the server is doing reverse
&lt;br&gt;lookups (and subsequent timeouts) for every incoming connection it can
&lt;br&gt;be quite slow. &amp;nbsp;You might want to add local entries the registry on
&lt;br&gt;the ipaq for hostname lookups. &amp;nbsp;Windows mobile/ce doesn't have an
&lt;br&gt;/etc/hosts file, but it does support an equiv feature in the registry.
&lt;br&gt;&lt;br&gt;There was a tool I used to have and I thought it was call ceHosts to
&lt;br&gt;update entries, but I'm not finding it in a quick google search. &amp;nbsp;I
&lt;br&gt;did however find a link to a tip on updating the registry directly
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://windowsmobilepro.blogspot.com/2006/04/etchosts-file-equivalent-in-windows.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windowsmobilepro.blogspot.com/2006/04/etchosts-file-equivalent-in-windows.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Obviously, the same should be done on the server to ensure ip lookups
&lt;br&gt;on your ipaq device are fast as well. &amp;nbsp;Even if you're connecting by ip
&lt;br&gt;address, the client or server in a tcpip environment may do a reverse
&lt;br&gt;lookup on connections.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Warren
&lt;br&gt;&lt;br&gt;On Mon, May 18, 2009 at 2:06 PM, Thomas Heller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23605614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;theller@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; David McNab schrieb:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm trying to run an XML-RPC server on my ipaq h4100, based on the
&lt;br&gt;&amp;gt;&amp;gt; python 'SimpleXMLRPCServer', but it's ridiculously slow to process
&lt;br&gt;&amp;gt;&amp;gt; requests.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Turnaround for even the simplest client requests is around 30-40
&lt;br&gt;&amp;gt;&amp;gt; seconds.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't know if this will help you or not:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to use XMLRPC betweem a small embedded ARM system runing linux
&lt;br&gt;&amp;gt; and a Windows PC.  The performance of a client on the PC and a server on
&lt;br&gt;&amp;gt; the embedded system was acceptable (~10 requests per second), but the
&lt;br&gt;&amp;gt; server on the PC called by a client running on the embedded system was unacceptable:
&lt;br&gt;&amp;gt; 1 request took around 5 seconds to complete.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have since switched to jsonrpc instead of xmlrpc which has a
&lt;br&gt;&amp;gt; much better performance: around 70 requests per second, in both
&lt;br&gt;&amp;gt; directions.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thomas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; PythonCE mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23605614&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23605614&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/very-slow-XMLRPCServer-tp23587963p23605614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23603539</id>
	<title>Re: very slow XMLRPCServer</title>
	<published>2009-05-18T12:06:47Z</published>
	<updated>2009-05-18T12:06:47Z</updated>
	<author>
		<name>Thomas Heller-2</name>
	</author>
	<content type="html">David McNab schrieb:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm trying to run an XML-RPC server on my ipaq h4100, based on the
&lt;br&gt;&amp;gt; python 'SimpleXMLRPCServer', but it's ridiculously slow to process
&lt;br&gt;&amp;gt; requests.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Turnaround for even the simplest client requests is around 30-40
&lt;br&gt;&amp;gt; seconds.
&lt;br&gt;&lt;br&gt;I don't know if this will help you or not:
&lt;br&gt;&lt;br&gt;I tried to use XMLRPC betweem a small embedded ARM system runing linux
&lt;br&gt;and a Windows PC. &amp;nbsp;The performance of a client on the PC and a server on
&lt;br&gt;the embedded system was acceptable (~10 requests per second), but the
&lt;br&gt;server on the PC called by a client running on the embedded system was unacceptable:
&lt;br&gt;1 request took around 5 seconds to complete.
&lt;br&gt;&lt;br&gt;I have since switched to jsonrpc instead of xmlrpc which has a
&lt;br&gt;much better performance: around 70 requests per second, in both
&lt;br&gt;directions.
&lt;br&gt;&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23603539&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/very-slow-XMLRPCServer-tp23587963p23603539.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23587963</id>
	<title>very slow XMLRPCServer</title>
	<published>2009-05-17T13:43:46Z</published>
	<updated>2009-05-17T13:43:46Z</updated>
	<author>
		<name>David McNab-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm trying to run an XML-RPC server on my ipaq h4100, based on the
&lt;br&gt;python 'SimpleXMLRPCServer', but it's ridiculously slow to process
&lt;br&gt;requests.
&lt;br&gt;&lt;br&gt;Turnaround for even the simplest client requests is around 30-40
&lt;br&gt;seconds.
&lt;br&gt;&lt;br&gt;Can anyone suggest a cause and maybe a remedy?
&lt;br&gt;&lt;br&gt;(source code to test program below)
&lt;br&gt;&lt;br&gt;Thanks if you can help
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;-----------------------
&lt;br&gt;&lt;br&gt;from SimpleXMLRPCServer import SimpleXMLRPCServer
&lt;br&gt;&lt;br&gt;def add(x, y):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;&amp;quot;&amp;quot;add(x, y): returns the result of adding x to y&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; return x + y
&lt;br&gt;&lt;br&gt;class MyXmlRpcServer(SimpleXMLRPCServer):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; def __init__(self, *args, **kw):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SimpleXMLRPCServer.__init__(self, allow_none=1, *args, **kw)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.running = 1
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; def serve_forever(self):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while self.running:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.handle_request()
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; def stop(self):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;&amp;quot;&amp;quot;stop(): stops the server&amp;quot;&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; self.running = 0
&lt;br&gt;&lt;br&gt;server = MyXmlRpcServer((&amp;quot;&amp;quot;, 8000))
&lt;br&gt;server.register_function(add)
&lt;br&gt;server.register_function(server.stop)
&lt;br&gt;server.register_introspection_functions()
&lt;br&gt;&lt;br&gt;server.serve_forever()
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23587963&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/very-slow-XMLRPCServer-tp23587963p23587963.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23458649</id>
	<title>Re: PythonCE Digest, Vol 69, Issue 1</title>
	<published>2009-05-09T02:00:55Z</published>
	<updated>2009-05-09T02:00:55Z</updated>
	<author>
		<name>Adam Walley</name>
	</author>
	<content type="html">&lt;div&gt;Nice find. Will check it out.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Adam&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;2009/5/8 Tony Lee &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23458649&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tony.p.lee@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;Found this reference in&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://markmail.org/message/cqi5g3b5ct3763fq&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://markmail.org/message/cqi5g3b5ct3763fq&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Tried it and it worked beautifully.   Love Python.....&lt;br&gt;&lt;br&gt;Now need to see if the bluetooth works.&lt;br&gt;&lt;br&gt;BTW, I am using Samsung&amp;#39;s blackjack 2.&lt;br&gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Hello, Tony.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Glad to hear PythonCE works well on WM6. I think there is a Python telnetlib&lt;br&gt;
&amp;gt; module, but have not used it myself - you may need to write something to get&lt;br&gt;&amp;gt; it to do what you want. Perhaps there is also an SSH module that works on&lt;br&gt;&amp;gt; PythonCE?&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Alternatively, you could use the CERDisp utility. It provides a remote&lt;br&gt;
&amp;gt; display of your mobile device on a laptop or workstation, but it also&lt;br&gt;&amp;gt; provides remote control (i.e. what you type on your *large keyboard* appears&lt;br&gt;&amp;gt; on your mobile device&amp;#39;s screen). This utility works reasonably well, but I&lt;br&gt;
&amp;gt; have found it to be a little unstable (eventually it will fall over and you&lt;br&gt;&amp;gt; will need to reset the device). I personally use the FreeFloat FTP server to&lt;br&gt;&amp;gt; transfer files to my mobile device. I write my code so that each function&lt;br&gt;
&amp;gt; contains Python and PythonCE variants (the sys.platform value tells Python&lt;br&gt;&amp;gt; which version of the code to use).&lt;br&gt;&amp;gt; Good luck and let us know what you find.&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Adam&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; 2009/5/8 Tony Lee &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23458649&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tony.p.lee@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt;&amp;gt; I installed pythonce on my WM6.  It works good!&lt;br&gt;&amp;gt;&amp;gt;&lt;br&gt;_______________________________________________&lt;br&gt;PythonCE mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23458649&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23458649&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-PythonCE-Digest%2C-Vol-69%2C-Issue-1-tp23451448p23458649.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23451448</id>
	<title>Re: PythonCE Digest, Vol 69, Issue 1</title>
	<published>2009-05-08T09:59:29Z</published>
	<updated>2009-05-08T09:59:29Z</updated>
	<author>
		<name>Tony Lee-2</name>
	</author>
	<content type="html">Found this reference in
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://markmail.org/message/cqi5g3b5ct3763fq&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://markmail.org/message/cqi5g3b5ct3763fq&lt;/a&gt;&lt;br&gt;&lt;br&gt;Tried it and it worked beautifully. &amp;nbsp; Love Python.....
&lt;br&gt;&lt;br&gt;Now need to see if the bluetooth works.
&lt;br&gt;&lt;br&gt;BTW, I am using Samsung's blackjack 2.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello, Tony.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Glad to hear PythonCE works well on WM6. I think there is a Python telnetlib
&lt;br&gt;&amp;gt; module, but have not used it myself - you may need to write something to get
&lt;br&gt;&amp;gt; it to do what you want. Perhaps there is also an SSH module that works on
&lt;br&gt;&amp;gt; PythonCE?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alternatively, you could use the CERDisp utility. It provides a remote
&lt;br&gt;&amp;gt; display of your mobile device on a laptop or workstation, but it also
&lt;br&gt;&amp;gt; provides remote control (i.e. what you type on your *large keyboard* appears
&lt;br&gt;&amp;gt; on your mobile device's screen). This utility works reasonably well, but I
&lt;br&gt;&amp;gt; have found it to be a little unstable (eventually it will fall over and you
&lt;br&gt;&amp;gt; will need to reset the device). I personally use the FreeFloat FTP server to
&lt;br&gt;&amp;gt; transfer files to my mobile device. I write my code so that each function
&lt;br&gt;&amp;gt; contains Python and PythonCE variants (the sys.platform value tells Python
&lt;br&gt;&amp;gt; which version of the code to use).
&lt;br&gt;&amp;gt; Good luck and let us know what you find.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Adam
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/5/8 Tony Lee &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23451448&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tony.p.lee@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I installed pythonce on my WM6. &amp;nbsp;It works good!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23451448&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-PythonCE-Digest%2C-Vol-69%2C-Issue-1-tp23451448p23451448.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23443448</id>
	<title>Re: Is there a script that would let me do this?</title>
	<published>2009-05-08T03:16:36Z</published>
	<updated>2009-05-08T03:16:36Z</updated>
	<author>
		<name>Thomas Heller-2</name>
	</author>
	<content type="html">Thomas Heller schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Tony Lee schrieb:
&lt;br&gt;&amp;gt;&amp;gt; I installed pythonce on my WM6. &amp;nbsp;It works good!
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I wonder if there is a simple script that can act as a console that
&lt;br&gt;&amp;gt;&amp;gt; takes input from the port (telnet) and output the data to the port
&lt;br&gt;&amp;gt;&amp;gt; also.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Like a io redirection, so I can just telnet to the WM6 to do script
&lt;br&gt;&amp;gt;&amp;gt; development instead of typing on the tiny keyboard.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have developed a python 'remote-console' for windows ce. &amp;nbsp;It requires
&lt;br&gt;&amp;gt; that the device is connected via ActiveSync.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://code.google.com/p/ctypes-stuff/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/ctypes-stuff/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Download the files from
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/&lt;/a&gt;&lt;br&gt;&amp;gt; and start 'python console.py' on your PC.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Update:
&lt;br&gt;&lt;br&gt;I posted a prebuilt binary here (no installation needed, simply run
&lt;br&gt;the exe):
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ctypes-stuff.googlecode.com/files/PythonConsole-1.0.exe&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ctypes-stuff.googlecode.com/files/PythonConsole-1.0.exe&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thanks,
&lt;br&gt;Thomas
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;PythonCE mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23443448&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;PythonCE@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.python.org/mailman/listinfo/pythonce&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.python.org/mailman/listinfo/pythonce&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-a-script-that-would-let-me-do-this--tp23438026p23443448.html" />
</entry>

</feed>
