Is there a script that would let me do this?

View: New views
4 Messages — Rating Filter:   Alert me  

Is there a script that would let me do this?

by Tony Lee-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed pythonce on my WM6.  It works good!


I wonder if there is a simple script that can act as a console that
takes input from the port (telnet) and output the data to the port
also.

Like a io redirection, so I can just telnet to the WM6 to do script
development instead of typing on the tiny keyboard.
_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce

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

by Adam Walley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, Tony.
 
Glad to hear PythonCE works well on WM6. I think there is a Python telnetlib module, but have not used it myself - you may need to write something to get it to do what you want. Perhaps there is also an SSH module that works on PythonCE?
 
Alternatively, you could use the CERDisp utility. It provides a remote display of your mobile device on a laptop or workstation, but it also provides remote control (i.e. what you type on your *large keyboard* appears on your mobile device's screen). This utility works reasonably well, but I have found it to be a little unstable (eventually it will fall over and you will need to reset the device). I personally use the FreeFloat FTP server to transfer files to my mobile device. I write my code so that each function contains Python and PythonCE variants (the sys.platform value tells Python which version of the code to use).
Good luck and let us know what you find.
 
Adam

 
2009/5/8 Tony Lee <tony.p.lee@...>
I installed pythonce on my WM6.  It works good!


I wonder if there is a simple script that can act as a console that
takes input from the port (telnet) and output the data to the port
also.

Like a io redirection, so I can just telnet to the WM6 to do script
development instead of typing on the tiny keyboard.
_______________________________________________
PythonCE mailing list
PythonCE@...
http://mail.python.org/mailman/listinfo/pythonce


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

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

by Thomas Heller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tony Lee schrieb:
> I installed pythonce on my WM6.  It works good!
>
>
> I wonder if there is a simple script that can act as a console that
> takes input from the port (telnet) and output the data to the port
> also.
>
> Like a io redirection, so I can just telnet to the WM6 to do script
> development instead of typing on the tiny keyboard.

I have developed a python 'remote-console' for windows ce.  It requires
that the device is connected via ActiveSync.

http://code.google.com/p/ctypes-stuff/

Download the files from
  http://ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/
and start 'python console.py' on your PC.

--
Thanks,
Thomas

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

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

by Thomas Heller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thomas Heller schrieb:

> Tony Lee schrieb:
>> I installed pythonce on my WM6.  It works good!
>>
>>
>> I wonder if there is a simple script that can act as a console that
>> takes input from the port (telnet) and output the data to the port
>> also.
>>
>> Like a io redirection, so I can just telnet to the WM6 to do script
>> development instead of typing on the tiny keyboard.
>
> I have developed a python 'remote-console' for windows ce.  It requires
> that the device is connected via ActiveSync.
>
> http://code.google.com/p/ctypes-stuff/
>
> Download the files from
>   http://ctypes-stuff.googlecode.com/svn/trunk/wince/remote-console/
> and start 'python console.py' on your PC.
>
Update:

I posted a prebuilt binary here (no installation needed, simply run
the exe):

http://ctypes-stuff.googlecode.com/files/PythonConsole-1.0.exe

--
Thanks,
Thomas

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