[PythonCE] PythonCE Digest, Vol 26, Issue 8

Michael Murdock michaelmurdock at gmail.com
Sat Oct 1 02:03:43 CEST 2005


Chandu Patil wrote:
>>
>> I am getting to know pythonce 2.3.4 (#0, July 12 2004, 17:38:34) on a
Dell Axim 30 Pocket PC. Just installed and am able to run Python. Next I
wanted to run setup-registry.
 >>
>> First, is there a list somewhere that has the differences between the
Python for say Windows and that for CE?
>>
>> I typed:
>>
>> Import os
>>
>> Os.chdir("\Program Files\Python") // this where the setup-registry file
is
>>
>> Execfile("setup-registry.py")
>>
>>
 >> After this I get the error _winreg DLL load failed, although it is in
the same directory.

I have Python 2.3.4 running on my Axim X30 from the Built-in Storage. The
following
is a transcript of the results I get running the commands you mentioned.

Where do you have Python installed?

~Michael.


Python 2.3.4 (#0, Jul 12 2004, 17:38:34) [MSC v.1201 32 bit (Unknown)] on
Pocket PC
>>> import os
>>> os.chdir(r"\built-in storage\python\lib")
>>> execfile("setup-registry.py")
Setting up registry to allow
double clicking of Python files to work
>>> os.listdir(r"\built-in storage\python\lib")
['sitecustomize.py',
'win32process.pyd',
'_sqlite.pyd',
'setup-registry.py',
'winsound.pyd',
'win32gui.pyd',
'win32event.pyd',
'unicodedata.pyd',
'sitecustomize.pyc',
'select.pyd',
'pywintypes.dll',
'python23.zip',
'python23.dll',
'python.exe',
'parser.pyd',
'mmap.pyd',
'datetime.pyd',
'_winreg.pyd',
'_tkinter.pyd',
'_testcapi.pyd',
'_symtable.pyd',
'_socket.pyd',
'_csv.pyd',
'site-packages',
'Tools',
'_tkinter_ORIG.pyd',
'pythonrc.pyc']
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonce/attachments/20050930/414bf7a5/attachment.htm


More information about the PythonCE mailing list