Re: PythonCE Digest, Vol 26, Issue 8

Michael Murdock <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
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']
>>>

_______________________________________________
PythonCE mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythonce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.