Re: [PythonCE] win32api

2008-04-08 Thread Frédéric
Le 8/4/2008, "Luke Dunstan" <[EMAIL PROTECTED]> a écrit: >Generally speaking, if I were you I would avoid pywin32 and use ctypes for >accessing the Win32 API, because it is included in both Python 2.5 and >PythonCE 2.5. You would still need to handle differences between Windows and >Windows CE th

Re: [PythonCE] win32api

2008-04-07 Thread Luke Dunstan
-- From: "Frédéric Mantegazza" <[EMAIL PROTECTED]> Sent: Tuesday, April 08, 2008 5:48 AM To: Subject: [PythonCE] win32api > Does the win32api exist for PythonCE? I'm trying to write code that can > work under linux, w

[PythonCE] win32api

2008-04-07 Thread Frédéric Mantegazza
Does the win32api exist for PythonCE? I'm trying to write code that can work under linux, win and winCE. linux and win works fine, using this code: if sys.platform.startswith("linux") or sys.platform.startswith("Mac"): HOME_DIR = os.path.expandvars("$HOME") CONFIG_DIR = os.path.join(HOME