Re: [PythonCE] reading GPS?

2008-07-11 Thread Justin Mitchell
Alex Mandel wrote: Justin Mitchell wrote: Alex Mandel wrote: Justin Mitchell wrote: Any suggestions on where to get started on reading GPS coordinates? Would these be read through the serial interface? I have a Motorola Q9C Smartphone. Justin Yes, do a search through the history of this

Re: [PythonCE] ~Name not defined" error

2008-07-11 Thread Alexandre Delattre
David Williams wrote: I have replaced the lines as suggested and now get the error: :[Error 2] The system cannot find the file specified I would be grateful for any further help. Thank you David williams 2008/7/11 <[EMAIL PROTECTED]>: ConnectRegistry seems not to be implemented in Python

Re: [PythonCE] ~Name not defined" error

2008-07-11 Thread taraiti
Hi, > aKey = OpenKey(HKEY_LOCAL_MACHINE, > r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run") > > I have replaced the lines as suggested and now get the error: > :[Error 2] The system cannot find the file > specified > > Any ideas? You have to double the backslash because it is interpreted

Re: [PythonCE] ~Name not defined" error

2008-07-11 Thread David Goncalves
Hi, aKey = OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run") I have replaced the lines as suggested and now get the error: :[Error 2] The system cannot find the file specified Any ideas? You have to double the backslash because it is interpreted as an esc code :

Re: [PythonCE] ~Name not defined" error

2008-07-11 Thread taraiti
ConnectRegistry seems not to be implemented in PythonCE However you can still replace: aReg = ConnectRegistry(None,HKEY_LOCAL_MACHINE) aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run") by: aKey = OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows\CurrentVersion\

Re: [PythonCE] ~Name not defined" error

2008-07-11 Thread alexandre . delattre
ConnectRegistry seems not to be implemented in PythonCE However you can still replace: aReg = ConnectRegistry(None,HKEY_LOCAL_MACHINE) aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run") by: aKey = OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Ru

Re: [PythonCE] The State of Affairs

2008-07-11 Thread alexandre . delattre
When I was working on PythonCE years ago I had the same concerns. I am wondering if Python eggs, easyinstall and setuptools could be put to use for this. Rather than starting from scratch. I think easyinstall at least gets you the dependency checking, downloading (non-graphical) and instal

[PythonCE] ~Name not defined" error

2008-07-11 Thread taraiti
Hi, I have just installed PythonCE from SourceForge on a Windows Mobile 5.0 ARM PDA (HTC P3600). When I enter in the interpreter window import _winreg help(_winreg) I get a print out of the appropriate help. When I run this script by double clicking its file from _winreg import * print r"**