From paandev at yahoo.com Mon Nov 1 13:26:43 2004 From: paandev at yahoo.com (Wara Songkran) Date: Mon Nov 1 13:26:46 2004 Subject: [PythonCE] How to use another win32xxx in Python CE Message-ID: <20041101122643.56584.qmail@web51305.mail.yahoo.com> Hi I'm using python ce from Python-2.3.4-arm-PPC2003.zip it work well. Now I want to create win32 app using python. I copy win32api.pyd which i download from https://sourceforge.net/projects/pywin32/ to the same directory where win32gui.pyd exist but when i excecute "import win32api " the error said "ImportError: DLL load failed with error code 193" I've try several win32xxx.pyd file but the error is the same please help __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20041101/5d2ba74d/attachment.html From johnny at debris.demon.nl Mon Nov 1 19:41:12 2004 From: johnny at debris.demon.nl (Johnny deBris) Date: Mon Nov 1 19:41:14 2004 Subject: [PythonCE] How to use another win32xxx in Python CE In-Reply-To: <20041101122643.56584.qmail@web51305.mail.yahoo.com> References: <20041101122643.56584.qmail@web51305.mail.yahoo.com> Message-ID: <41868348.30609@debris.demon.nl> Wara Songkran wrote: > "ImportError: DLL load failed with error code 193" I guess this won't work, since .pyds are system-dependent binaries. If you want to port them, you should get the sources, adjust them so they use only supported libs and such (don't know how much difference there is between 'plain' Windows and CE) and compile them for CE. Cheers, Guido From patric at usa.net Wed Nov 10 11:12:37 2004 From: patric at usa.net (Patric Michael) Date: Wed Nov 10 11:12:23 2004 Subject: [PythonCE] Changing window options.. Message-ID: <41917915.15860.1E1F9F8@localhost> Hi all... I downloaded and installed Telion's port as opposed to David Kashtans because I needed raw_input. Running it on my ipaq4150, I discovered the interpreter window doesn't resize itself so the soft keyboard doesn't overlap. While poking around in pcceshell.py, I was able to at least get a manually resizable window implemented, but I flat don't know a thing about creating a window in the ATL environment (much less anywhere else) so what I end up with is the File, Help, and Close menu bar across the top, which just eats real estate. Question - What do the numbers mean in these lines?: WS_OVERLAPPEDWINDOW=13565952 WS_SYSMENU=524288 WS_CLIPCHILDREN=33554432 WS_CHILD=1073741824 WS_VISIBLE=268435456 WS_HSCROLL=1048576 WS_VSCROLL=2097152 I'm guessing they are some sort of referent to a predefined style, but I'd appreciate any clarification. :) Failing that, how can I make the interpreter window shift its vertical size to allow for the soft keyboard to pop in and out? Thanks... Patric From bkc at murkworks.com Wed Nov 10 15:45:18 2004 From: bkc at murkworks.com (Brad Clements) Date: Wed Nov 10 15:31:17 2004 Subject: [PythonCE] Changing window options.. In-Reply-To: <41917915.15860.1E1F9F8@localhost> Message-ID: <4191E326.30479.860E0843@coal.murkworks.com> On 10 Nov 2004 at 2:12, Patric Michael wrote: > I downloaded and installed Telion's port as opposed to David Kashtans > because I needed raw_input. > > Running it on my ipaq4150, I discovered the interpreter window doesn't > resize itself so the soft keyboard doesn't overlap. pcceshell should support detection of SIP popup, but I don't think that'd work with raw_input. I'm pretty sure it works in interpreter mode, I recall working on SIP support years ago. > Question - What do the numbers mean in these lines?: > WS_OVERLAPPEDWINDOW=13565952 > WS_SYSMENU=524288 > WS_CLIPCHILDREN=33554432 > WS_CHILD=1073741824 > WS_VISIBLE=268435456 > WS_HSCROLL=1048576 > WS_VSCROLL=2097152 These are constants from windows.h (get the windows SDK to get windows.h and windowsx.h) These constants are usually shown as hex in the .h file, but for some reason they were written out as decimal in ce code, likely due to a limitation in parsing long hex constants. > Failing that, how can I make the interpreter window shift its vertical size > to allow for the soft keyboard to pop in and out? It should already do that in interpreter mode. I have a 2 year old copy of pcceshell.py, it has stuff like this: def onParentSettingChange(self, hwnd, msg, wParam, lParam): """set sip""" OutputDebugString('parent setting change wParam='+str(wParam)+' ? '+str(SPI_SETSIPINFO)+"\r\n") if SPI_SETSIPINFO == wParam: sai = SHACTIVATEINFO() SHHandleWMSettingChange(hwnd,wParam,lParam,sai) def onParentActivate(self, hwnd, msg, wParam, lParam): """more sip setup""" OutputDebugString('parent activate wParam='+str(wParam)+' ? '+str(SPI_SETSIPINFO)+"\r\n") if SPI_SETSIPINFO == wParam: sai = SHACTIVATEINFO() SHHandleWMActivate(hwnd,wParam,lParam,sai,0) This is supposed to handle SIP popup, but it requires windows messages to get posted to the parent window. Perhaps that doesn't happen when raw_input is used.. -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From patric at usa.net Fri Nov 12 05:35:04 2004 From: patric at usa.net (Patric Michael) Date: Fri Nov 12 05:34:48 2004 Subject: [PythonCE] Changing window options.. In-Reply-To: <441ikkctp1465M10@cmsmail10.cms.usa.net> Message-ID: <4193CCF8.17872.AFA04EC@localhost> > Patric Michae wrote: > > > >I downloaded and installed Telion's port as opposed to David > Kashtans >because I needed raw_input. > >Running it on my ipaq4150, > I discovered the interpreter window doesn't >resize itself so the > soft keyboard doesn't overlap. > > This sound interesting I don't remember having this problem when I > used it. Just to confirm did you try opening and closing the sip? That > usually helps to resize the window. True, and I did try that a few times. Mostly out of a sense of frustration. Laugh > > Also you may want to try a newer release that also supports raw_input. > It can be found at: http://debris.demon.nl/PythonCE-2.3 Got it, thanks. Unfortunately I ran into a bit of a snag with it as well. Something in the form of "SIPINFO() not defined." if I recall correctly. I found something in an old archive about that happening to someone else, and the solution was to use an older version of pcceshell.py or ceshell.py that didn't have the SIPINFO referenced. Of course, that's exactly what I am after... > There is one problem with this the python.exe file doesn't work. You > probably could use the one from your current release. (because all it > does is run the python DLL file). Or you can use the one I'm > attaching. I used both, actually. Yours was less hassle. :) Thanks to you Isr, and to the others who responded so quickly. And I apologize for not replying sooner, but I was hoping to be able to solve the puzzle myself and I spent too much time poking around in various modules. Alas, I have reverted to the 2.2 version for now and will just have to deal with the menu bar my "fix" created. At least I can resize the window and have a working interpreter, eh? Take care... Patric > > All the best, > Isr > From patric at usa.net Fri Nov 12 05:42:50 2004 From: patric at usa.net (Patric Michael) Date: Fri Nov 12 05:42:35 2004 Subject: [PythonCE] Changing window options.. In-Reply-To: <4191E326.30479.860E0843@coal.murkworks.com> References: <41917915.15860.1E1F9F8@localhost> Message-ID: <4193CECA.31920.B0120B6@localhost> > On 10 Nov 2004 at 2:12, Patric Michael wrote: > > > I downloaded and installed Telion's port as opposed to David > > Kashtans because I needed raw_input. > > > > Running it on my ipaq4150, I discovered the interpreter window > > doesn't resize itself so the soft keyboard doesn't overlap. > > pcceshell should support detection of SIP popup, but I don't think > that'd work with raw_input. Actually, it failed even before I tried to define a raw input prompt. I discovered it when the screen displayed the results of a script I ran. > > I'm pretty sure it works in interpreter mode, I recall working on SIP > support years ago. > > > Question - What do the numbers mean in these lines?: > > WS_OVERLAPPEDWINDOW=13565952 > > WS_SYSMENU=524288 > > WS_CLIPCHILDREN=33554432 > > WS_CHILD=1073741824 > > WS_VISIBLE=268435456 > > WS_HSCROLL=1048576 > > WS_VSCROLL=2097152 > > > These are constants from windows.h (get the windows SDK to get > windows.h and windowsx.h) Yes. I figured as much. Thanks fo rthe clarification, and where to find the details. > > These constants are usually shown as hex in the .h file, but for some > reason they were written out as decimal in ce code, likely due to a > limitation in parsing long hex constants. > > > Failing that, how can I make the interpreter window shift its > > vertical size to allow for the soft keyboard to pop in and out? > > It should already do that in interpreter mode. > > I have a 2 year old copy of pcceshell.py, it has stuff like this: > > def onParentSettingChange(self, hwnd, msg, wParam, lParam): > """set sip""" > OutputDebugString('parent setting change > wParam='+str(wParam)+' ? '+str(SPI_SETSIPINFO)+"\r\n") if > SPI_SETSIPINFO == wParam: > sai = SHACTIVATEINFO() > SHHandleWMSettingChange(hwnd,wParam,lParam,sai) > > def onParentActivate(self, hwnd, msg, wParam, lParam): > """more sip setup""" > OutputDebugString('parent activate wParam='+str(wParam)+' ? > '+str(SPI_SETSIPINFO)+"\r\n") if SPI_SETSIPINFO == wParam: > sai = SHACTIVATEINFO() > SHHandleWMActivate(hwnd,wParam,lParam,sai,0) > > > This is supposed to handle SIP popup, but it requires windows messages > to get posted to the parent window. Perhaps that doesn't happen when > raw_input is used.. > Aye. I have a number of copies and versions of shells from a variety of packages. Most have what you indicate in it, as does the one in question. I can get input() functionality, or SIP resizing, from one or another, but not both at the same time. :) I don't really get how raw_input would affect the parent window, though. The fact that the soft keyboard overlaps the window even at the first prompt makes me think input isnt the issue, but that's just a guess. Thanks for taking the time, Brad. Patric > -- > Brad Clements, bkc@murkworks.com (315)268-1000 > http://www.murkworks.com (315)268-9812 Fax > http://www.wecanstopspam.org/ AOL-IM: BKClements > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > From gerhard at gbrauckmann.de Fri Nov 12 10:49:52 2004 From: gerhard at gbrauckmann.de (Gerhard Brauckmann) Date: Fri Nov 12 10:49:51 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: Hi all, I'm planning to write python programs for my Windows CE gadget. I have a good background in C, Pascal, PHP, SQL, Perl. Now I'm searching for an IDE to start python programming by using WIN-XP and also for my Dell Axim. - Can someone recommend a IDE to start development and testing? - which databases are useable within the Windows CE environment? Thx for your help and time regards Gerhard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20041112/65de0721/attachment.html From isrgish at fastem.com Fri Nov 12 12:31:51 2004 From: isrgish at fastem.com (Isr Gish) Date: Fri Nov 12 12:32:07 2004 Subject: [PythonCE] Changing window options.. Message-ID: <20041112113205.47A081E4002@bag.python.org> Patric Michael" [snip] >> This is supposed to handle SIP popup, but it requires windows messages >> to get posted to the parent window. Perhaps that doesn't happen when >> raw_input is used.. >> >Aye. I have a number of copies and versions of shells from a variety of >packages. Most have what you indicate in it, as does the one in >question. I can get input() functionality, or SIP resizing, from one or >another, but not both at the same time. :) You may want to look at the readline function in the one that supports the input functions. That function is what lets the input functions function. There is also a function called something like OnChar(something or other) which is the function that actually collects the input from the keyboard. It may be possible to copy these functions the pcshell.py that the keyboard doesn't overlap. All the best, Isr From dr.gbbrooks at gmail.com Fri Nov 12 15:41:11 2004 From: dr.gbbrooks at gmail.com (Dr. Brooks) Date: Fri Nov 12 15:41:14 2004 Subject: [PythonCE] Command Line Message-ID: <88e17bc404111206415c3d36ae@mail.gmail.com> I have a hitachi G1000 pockect PC phone withDavid Kashtan's python 2.3.4 for pockect pc. I am able to run interactive mode code, but I do not know how to run a script. How does one run scripts and is there a command session that I need to call up. I do not know how to call up the command line. Thank for any help -- G. Byron Brooks From isrgish at fastem.com Fri Nov 12 17:25:38 2004 From: isrgish at fastem.com (Isr Gish) Date: Fri Nov 12 17:25:57 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: <20041112162555.E97491E4002@bag.python.org> Gerhard Brauckmann" >- Can someone recommend a IDE to start development and testing? I don't know of any IDE for CE, but you can use Pocket Word and save as txt file (but you would have to change the extension). Or you can use any txt editor. There are a few around for CE. >- which databases are useable within the Windows CE environment? I'm not sure whtt you mean here, but there was a port of sqliite to the CE. You can try finding a post about it in the archives. All the best, Isr > >Thx for your help and time >regards >Gerhard From isrgish at fastem.com Fri Nov 12 17:25:46 2004 From: isrgish at fastem.com (Isr Gish) Date: Fri Nov 12 17:26:00 2004 Subject: [PythonCE] Command Line Message-ID: <20041112162558.E0DBE1E4006@bag.python.org> From: "Dr. Brooks" >but I do >not know how to run a script. How does one run scripts If you associated .py a& .pyc files to python. Then all you have to do is double click the file to run it. I think that taere is some file to run in the download that associates it for you. >command session that I need to call up. I do not know how to call up >the command line. You would need some program that gives you an opption like run taat is found on a on a pc. T Ere are a few such programs. I think that www.conduits.com has one. All the best, Isr From mike at pcblokes.com Fri Nov 12 17:29:02 2004 From: mike at pcblokes.com (Voidspace) Date: Fri Nov 12 17:29:10 2004 Subject: [PythonCE] newbee question: which IDE to use? In-Reply-To: <20041112162555.E97491E4002@bag.python.org> References: <20041112162555.E97491E4002@bag.python.org> Message-ID: <4194E4CE.9030908@pcblokes.com> Tillanosoft pocket notepad is a nice notepad - but it doesn't do indentation, which is a pain. He also does a pocket emacs (?) port called Mg - but I've never known how to configure it to make it useable. Regards, FUzzy Isr Gish wrote: >Gerhard Brauckmann" > > >- Can someone recommend a IDE to start development and testing? > >I don't know of any IDE for CE, but you can use Pocket Word and save as txt file (but you would have to change the extension). Or you can use any txt editor. There are a few around for CE. > > >- which databases are useable within the Windows CE environment? > >I'm not sure whtt you mean here, but there was a port of sqliite to the CE. You can try finding a post about it in the archives. > >All the best, >Isr > > > > >Thx for your help and time > >regards > >Gerhard > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > > > > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fiction and more. --- http://www.Voidspace.org.uk/atlantibots/pythonutils.html Python utilities, modules and apps. Including Nanagram, Dirwatcher and more. --- http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera From patric at usa.net Fri Nov 12 17:33:03 2004 From: patric at usa.net (Patric Michael) Date: Fri Nov 12 17:32:45 2004 Subject: [PythonCE] Command Line In-Reply-To: <88e17bc404111206415c3d36ae@mail.gmail.com> Message-ID: <4194753F.8979.222A969@localhost> I don't know the OS in your phone, but the solution for windows in my Ipaq was to create shortcuts to the scripts I wanted to run. Its a single line of text like this: #"\Program Files\Python\Lib\python.exe" "\My Documents\Pydocs\myscript.py" You can create new shortcuts on your device with any text editor, but be sure the file you create is saved with the .lnk extension. ( ell, enn, kay extension) Also, one of the versions of pythonCE includes a small script to edit the registry to allow for tapping a script to run it. You can find a couple ports of that file here: http://sourceforge.net/project/showfiles.php?group_id=104228 Good luck! Patric > I have a hitachi G1000 pockect PC phone withDavid Kashtan's python > 2.3.4 for pockect pc. I am able to run interactive mode code, but I do > not know how to run a script. How does one run scripts and is there a > command session that I need to call up. I do not know how to call up > the command line. Thank for any help > > > -- > G. Byron Brooks > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > From danielnastase at hotmail.com Sat Nov 13 02:09:22 2004 From: danielnastase at hotmail.com (Daniel Nastase) Date: Sat Nov 13 02:11:09 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: There is an almost complete port of emacs on http://www.rainer-keuchel.de/wince/emacs-wince.html I have used it and it's awesome. And you can use it the same on both XP and WCE. Daniel On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: >Hi all, >I'm planning to write python programs for my Windows CE gadget. I have a >good background >in C, Pascal, PHP, SQL, Perl. >Now I'm searching for an IDE to start python programming by using WIN-XP >and >also for my Dell Axim. > >- Can someone recommend a IDE to start development and testing? >- which databases are useable within the Windows CE environment? > >Thx for your help and time >regards >Gerhard > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ From dr.mike at ntlworld.com Sat Nov 13 16:23:51 2004 From: dr.mike at ntlworld.com (dr mike) Date: Sat Nov 13 16:24:09 2004 Subject: [PythonCE] newbee question: which IDE to use? In-Reply-To: Message-ID: <20041113152056.LSRX28128.mta05-svc.ntlworld.com@c400> I like the idea of using emacs as the editor for Python file creation, editing etc. So, I have downloaded and installed the emacs port files onto the SD card (\Storage Card) of my IPAQ 4150 (no CF card option on this model). I also installed the latest (2.13) build of the celib.dll to fix a problem with paths containing spaces (i.e. \Storage Card)and changed the speicherkarte references to Storage Card, suitably double quoted. However, it still won't handle the space in the path, looking for files in \Storage. Either I'm missing something, or you can't install on a SD card (or need a language where it has no space in its title). Regards Mike -----Original Message----- From: pythonce-bounces@python.org [mailto:pythonce-bounces@python.org] On Behalf Of Daniel Nastase Sent: 13 November 2004 01:09 To: pythonce@python.org Subject: Re: [PythonCE] newbee question: which IDE to use? There is an almost complete port of emacs on http://www.rainer-keuchel.de/wince/emacs-wince.html I have used it and it's awesome. And you can use it the same on both XP and WCE. Daniel On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: >Hi all, >I'm planning to write python programs for my Windows CE gadget. I have >a good background in C, Pascal, PHP, SQL, Perl. >Now I'm searching for an IDE to start python programming by using >WIN-XP and also for my Dell Axim. > >- Can someone recommend a IDE to start development and testing? >- which databases are useable within the Windows CE environment? > >Thx for your help and time >regards >Gerhard > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce From gerhard at gbrauckmann.de Sat Nov 13 17:02:53 2004 From: gerhard at gbrauckmann.de (Gerhard Brauckmann) Date: Sat Nov 13 17:02:48 2004 Subject: AW: [PythonCE] newbee question: which IDE to use? In-Reply-To: <20041113152056.LSRX28128.mta05-svc.ntlworld.com@c400> Message-ID: maybe is wasn't clear enough in my question. What I'm searching for is an IDE on my XP machine to work with. I found right now eclipse (IBM) wich does the job good. link: http://www-106.ibm.com/developerworks/library/os-ecant/?ca=drs-tp2604#N10062 and also the plugin for eclipse python: link: http://pydev.sourceforge.net/ this installation works perfect. I'm still searching for the right MODULE to develop GUI's wich will work on XP and on CE as well. any idea? Gerhard ---------------------------- On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: >Hi all, >I'm planning to write python programs for my Windows CE gadget. I have >a good background in C, Pascal, PHP, SQL, Perl. >Now I'm searching for an IDE to start python programming by using >WIN-XP and also for my Dell Axim. > >- Can someone recommend a IDE to start development and testing? >- which databases are useable within the Windows CE environment? > >Thx for your help and time >regards >Gerhard > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce From danielnastase at hotmail.com Sat Nov 13 17:20:27 2004 From: danielnastase at hotmail.com (Daniel Nastase) Date: Sat Nov 13 17:21:04 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: Unfortunately I don't have this setup on my Jornada anymore as I've gone for the real thing: NetBSD, so I can't test anything. Where do you have the space problem ? when setting variables in the registry ? or when trying to open a file from emacs ? or ... ? Here's how the registry keys should look like (that's my last backup of the HKLM/Enviroment): [HKEY_LOCAL_MACHINE\Environment] "XCE_TRACE"="0" "DISPLAY"="jornada:0.0" "XCE_TRACE_FILE"="/tracefile.txt" "UNIXROOTDIR"="/Storage Card" "TMPDIR"="\\tmp" "TMP"="\\tmp" "TEMP"="\\tmp" "EMACSLOADPATH"="\\Storage Card\\emacs\\lisp;\\Storage Card\\emacs\\lisp\\emacs-lisp;\\Storage Card\\emacs\\lisp\\progmodes;" "COMPUTERNAME"="jornada" "ROWS"="16" "COLS"="105" "PATH"="\\storage card\\bin;\\Storage Card\\bin;\\Storage Card\\perl;\\Storage Card\\texmf\\bin" "CONSOLEFONTSIZE"="7" "VIM"="\\Storage Card\\vim" "HOME"="\\Storage Card\\daniel" "EMACSDATA"="\\Storage Card\\emacs\\etc" "EMACSDIR"="\\Storage Card\\emacs" "EMACSDOC"="\\Storage Card\\emacs\\etc" "EMACSPATH"="\\Storage Card\\emacs\\bin" "USERNAME"="daniel" "X11DIR"="/Storage Card/usr/lib/X11" "PERL5LIB"="\\Storage Card\\perl" "APACHEDIR"="\\Storage Card\\apache" "GPHOTODIR"="\\Storage Card\\gphoto" "TERMCAP"="/Storage Card/etc/termcap" "SHELL"="none" "GCLDIR"="/Storage Card/gcl" "SCHEME_LIBRARY_PATH"="/Storage Card/scm/slib/" "DICTIONARY"="/Storage Card/usr/lib/dict/german" "MAXIMA_DIRECTORY"="/Storage Card/gcl" "LAST_FONT_CREATED"="/Storage Card/texmf/fonts/pk\\cmr10.300pk" "CAMLDIR"="/Storage Card/caml" "TERM"="wince" "TEXMFCNF"="\\Storage Card\\texmf\\cfg" "PWD"="/Storage Card/" Hope it helps you, Daniel On Sat, 13 Nov 2004, dr mike wrote: >I like the idea of using emacs as the editor for Python file creation, >editing etc. So, I have downloaded and installed the emacs port files onto >the SD card (\Storage Card) of my IPAQ 4150 (no CF card option on this >model). I also installed the latest (2.13) build of the celib.dll to fix a >problem with paths containing spaces (i.e. \Storage Card)and changed the >speicherkarte references to Storage Card, suitably double quoted. However, >it still won't handle the space in the path, looking for files in \Storage. >Either I'm missing something, or you can't install on a SD card (or need a >language where it has no space in its title). > >Regards > >Mike > >-----Original Message----- >From: pythonce-bounces@python.org [mailto:pythonce-bounces@python.org] On >Behalf Of Daniel Nastase >Sent: 13 November 2004 01:09 >To: pythonce@python.org >Subject: Re: [PythonCE] newbee question: which IDE to use? > >There is an almost complete port of emacs on >http://www.rainer-keuchel.de/wince/emacs-wince.html >I have used it and it's awesome. >And you can use it the same on both XP and WCE. > >Daniel > >On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: > > >Hi all, > >I'm planning to write python programs for my Windows CE gadget. I have > >a good background in C, Pascal, PHP, SQL, Perl. > >Now I'm searching for an IDE to start python programming by using > >WIN-XP and also for my Dell Axim. > > > >- Can someone recommend a IDE to start development and testing? > >- which databases are useable within the Windows CE environment? > > > >Thx for your help and time > >regards > >Gerhard > > > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today it's FREE! >http://messenger.msn.com/ > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ From danielnastase at hotmail.com Sat Nov 13 17:23:13 2004 From: danielnastase at hotmail.com (Daniel Nastase) Date: Sat Nov 13 17:24:04 2004 Subject: AW: [PythonCE] newbee question: which IDE to use? Message-ID: I have succesfully used Tkinter. It was not too slow on my Jornada 720 and almost all widgets worked. I have even used Tree. Daniel On Sat, 13 Nov 2004, Gerhard Brauckmann wrote: >maybe is wasn't clear enough in my question. >What I'm searching for is an IDE on my XP machine to work with. > >I found right now eclipse (IBM) wich does the job good. >link: >http://www-106.ibm.com/developerworks/library/os-ecant/?ca=drs-tp2604#N10062 > >and also the plugin for eclipse python: >link: http://pydev.sourceforge.net/ > >this installation works perfect. > >I'm still searching for the right MODULE to develop GUI's wich will work >on XP and on CE as well. > >any idea? > >Gerhard >---------------------------- > >On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: > > >Hi all, > >I'm planning to write python programs for my Windows CE gadget. I have > >a good background in C, Pascal, PHP, SQL, Perl. > >Now I'm searching for an IDE to start python programming by using > >WIN-XP and also for my Dell Axim. > > > >- Can someone recommend a IDE to start development and testing? > >- which databases are useable within the Windows CE environment? > > > >Thx for your help and time > >regards > >Gerhard > > > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today it's FREE! >http://messenger.msn.com/ > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.com/ From danielnastase at hotmail.com Sat Nov 13 17:30:19 2004 From: danielnastase at hotmail.com (Daniel Nastase) Date: Sat Nov 13 17:31:06 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: I forgot to mention (it it's the space issue is related to registry): - I don't know if it's clear from the keys I shown: use double quotes to wrap the variable value - there is a forum (wince-devel@yahoogroups.com) where they discuss these things; search it maybe you'll find your problem there Daniel On Sat, 13 Nov 2004, Daniel Nastase wrote: >Unfortunately I don't have this setup on my Jornada anymore as I've gone >for >the real thing: NetBSD, so I can't test anything. >Where do you have the space problem ? when setting variables in the >registry >? or when trying to open a file from emacs ? or ... ? > >Here's how the registry keys should look like (that's my last backup of the >HKLM/Enviroment): > >[HKEY_LOCAL_MACHINE\Environment] >"XCE_TRACE"="0" >"DISPLAY"="jornada:0.0" >"XCE_TRACE_FILE"="/tracefile.txt" >"UNIXROOTDIR"="/Storage Card" >"TMPDIR"="\\tmp" >"TMP"="\\tmp" >"TEMP"="\\tmp" >"EMACSLOADPATH"="\\Storage Card\\emacs\\lisp;\\Storage >Card\\emacs\\lisp\\emacs-lisp;\\Storage Card\\emacs\\lisp\\progmodes;" >"COMPUTERNAME"="jornada" >"ROWS"="16" >"COLS"="105" >"PATH"="\\storage card\\bin;\\Storage Card\\bin;\\Storage >Card\\perl;\\Storage Card\\texmf\\bin" >"CONSOLEFONTSIZE"="7" >"VIM"="\\Storage Card\\vim" >"HOME"="\\Storage Card\\daniel" >"EMACSDATA"="\\Storage Card\\emacs\\etc" >"EMACSDIR"="\\Storage Card\\emacs" >"EMACSDOC"="\\Storage Card\\emacs\\etc" >"EMACSPATH"="\\Storage Card\\emacs\\bin" >"USERNAME"="daniel" >"X11DIR"="/Storage Card/usr/lib/X11" >"PERL5LIB"="\\Storage Card\\perl" >"APACHEDIR"="\\Storage Card\\apache" >"GPHOTODIR"="\\Storage Card\\gphoto" >"TERMCAP"="/Storage Card/etc/termcap" >"SHELL"="none" >"GCLDIR"="/Storage Card/gcl" >"SCHEME_LIBRARY_PATH"="/Storage Card/scm/slib/" >"DICTIONARY"="/Storage Card/usr/lib/dict/german" >"MAXIMA_DIRECTORY"="/Storage Card/gcl" >"LAST_FONT_CREATED"="/Storage Card/texmf/fonts/pk\\cmr10.300pk" >"CAMLDIR"="/Storage Card/caml" >"TERM"="wince" >"TEXMFCNF"="\\Storage Card\\texmf\\cfg" >"PWD"="/Storage Card/" > >Hope it helps you, >Daniel > > > >On Sat, 13 Nov 2004, dr mike wrote: > _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ From dr.mike at ntlworld.com Sun Nov 14 08:10:59 2004 From: dr.mike at ntlworld.com (dr mike) Date: Sun Nov 14 08:11:19 2004 Subject: [PythonCE] newbee question: which IDE to use? In-Reply-To: Message-ID: <20041114071138.LSHC12530.mta06-svc.ntlworld.com@c400> I'm currently looking into wxWindows/wxWidgets, a C/C++ toolkit for cross-platform GUI type applications development: http://www.wxwindows.org There is a 'wxWindows for (Windows) CE (v3.0)' port. There is also a wxPython (http://www.wxpython.org), again with a port to Windows CE, which requires wxWidgets for Windows CE (http://www.wxwidgets.org - what's the difference between wxWidgets and wxWindows? The former is used to generate gui apps in the latter, as far as I can see, as the downloads are the same). IIRC, there have been postings here before, related to wxWindows/wxWidgets/wxPython. So many downloads, so little brain to handle it - the low caffeine level warning light has just lit up in my brain - time for another coffee. HTH Regards Mike -----Original Message----- From: pythonce-bounces@python.org [mailto:pythonce-bounces@python.org] On Behalf Of Gerhard Brauckmann Sent: 13 November 2004 16:03 To: pythonce@python.org Subject: AW: [PythonCE] newbee question: which IDE to use? maybe is wasn't clear enough in my question. What I'm searching for is an IDE on my XP machine to work with. I found right now eclipse (IBM) wich does the job good. link: http://www-106.ibm.com/developerworks/library/os-ecant/?ca=drs-tp2604#N10062 and also the plugin for eclipse python: link: http://pydev.sourceforge.net/ this installation works perfect. I'm still searching for the right MODULE to develop GUI's wich will work on XP and on CE as well. any idea? Gerhard ---------------------------- On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: >Hi all, >I'm planning to write python programs for my Windows CE gadget. I have >a good background in C, Pascal, PHP, SQL, Perl. >Now I'm searching for an IDE to start python programming by using >WIN-XP and also for my Dell Axim. > >- Can someone recommend a IDE to start development and testing? >- which databases are useable within the Windows CE environment? > >Thx for your help and time >regards >Gerhard > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce From mike at pcblokes.com Sun Nov 14 11:54:04 2004 From: mike at pcblokes.com (Michael) Date: Sun Nov 14 11:53:16 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: <20041114105313.3BC751E4002@bag.python.org> Ahh - so they're getting somewhere with the porting of wxWidgets to windowsCE.. Great. BTW wxWidgets is just the new name for wxWindows - they're the same thing. Regards, Fuzz -----Original Message----- >From: "dr mike" >Sent: 14/11/04 07:10:59 >To: "pythonce@python.org" >Subject: RE: [PythonCE] newbee question: which IDE to use? > >I'm currently looking into wxWindows/wxWidgets, a C/C++ toolkit for >cross-platform GUI type applications development: > >http://www.wxwindows.org > >There is a 'wxWindows for (Windows) CE (v3.0)' port. There is also a >wxPython (http://www.wxpython.org), again with a port to Windows CE, which >requires wxWidgets for Windows CE (http://www.wxwidgets.org - what's the >difference between wxWidgets and wxWindows? The former is used to generate >gui apps in the latter, as far as I can see, as the downloads are the same). >IIRC, there have been postings here before, related to >wxWindows/wxWidgets/wxPython. So many downloads, so little brain to handle >it - the low caffeine level warning light has just lit up in my brain - time >for another coffee. > >HTH > >Regards > >Mike > >-----Original Message----- >From: pythonce-bounces@python.org [mailto:pythonce-bounces@python.org] On >Behalf Of Gerhard Brauckmann >Sent: 13 November 2004 16:03 > > [Message truncated. Tap Edit->Mark for Download to get remaining portion.] From isrgish at fastem.com Mon Nov 15 00:50:07 2004 From: isrgish at fastem.com (Isr Gish) Date: Mon Nov 15 00:50:19 2004 Subject: [PythonCE] Command Line Message-ID: <20041114235018.1496C1E4002@bag.python.org> I'm forwarding to the list so all can see and answer your questions. Please try to send to list in the future. Thanks See below. -----Original Message----- >From: "Dr. Brooks" >Sent: 11/13/04 3:03:03 PM >To: "Isr Gish" >Subject: Re: [PythonCE] Command Line >Thanks for the information. >I may have another problem. I installed python onto a CF data disk. >The interpreter seems to work well. I have associated .py with the >program: python.exe >I ran a script that was to run a for loop and print some text. >I doubled click the script and it seems to load and I was left in the >interactive mode but did not see the printed text. >Could this code be running and I simply do not see the output? >When one runs a script that uses the print "XX" were is the text displayed. >Thanks again for the help. You may want to check your code to make sure that the for loop is being processed. it may help if you show the code. Otherwise I can see why it shouldn't print to the screen. You may also want to make sure that it didn't print it just before the interpreter started, you would then see the text on the first line of the window. All the best , Isr P.S. Which version are you running. >PS: My goal is to have a Python script running on my PDA communicate >with a BASIC Stamp and drive a small robot. Quit a task for a guy who >cant' print to the screen!! >Thanks again > > >On Fri, 12 Nov 2004 11:25:46 -0500, Isr Gish wrote: >> >> From: "Dr. Brooks" >> >> >but I do >> >not know how to run a script. How does one run scripts >> >> If you associated .py a& .pyc files to python. Then all you have to do is double click the file to run it. >> >> I think that taere is some file to run in the download that associates it for you. >> >> >command session that I need to call up. I do not know how to call up >> >the command line. >> >> You would need some program that gives you an opption like run taat is found on a on a pc. >> T >> Ere are a few such programs. I think that www.conduits.com has one. >> >> All the best, >> Isr >> >> > > >-- >G. Byron Brooks EE MD > From patric at usa.net Mon Nov 15 06:47:51 2004 From: patric at usa.net (Patric Michael) Date: Mon Nov 15 06:47:29 2004 Subject: [PythonCE] Command Line In-Reply-To: <20041114235018.1496C1E4002@bag.python.org> Message-ID: <4197D287.9434.F478C78@localhost> I ran across a similar situation and discovered the text would print to the interpreter window, then exit. I believe that was the port (version 2.3.4) which did not use the pcceshell script. Patric > I'm forwarding to the list so all can see and answer your questions. > Please try to send to list in the future. Thanks > > See below. > > -----Original Message----- > >From: "Dr. Brooks" > >Sent: 11/13/04 3:03:03 PM > >To: "Isr Gish" > >Subject: Re: [PythonCE] Command Line > >Thanks for the information. > >I may have another problem. I installed python onto a CF data > disk. >The interpreter seems to work well. I have associated .py > with the >program: python.exe >I ran a script that was to run a for > loop and print some text. >I doubled click the script and it seems > to load and I was left in the >interactive mode but did not see the > printed text. >Could this code be running and I simply do not see > the output? >When one runs a script that uses the print "XX" were > is the text displayed. >Thanks again for the help. > > You may want to check your code to make sure that the for loop is > being processed. it may help if you show the code. Otherwise I can see > why it shouldn't print to the screen. You may also want to make sure > that it didn't print it just before the interpreter started, you would > then see the text on the first line of the window. > > All the best , > Isr > > P.S. Which version are you running. > > > >PS: My goal is to have a Python script running on my PDA > communicate >with a BASIC Stamp and drive a small robot. Quit a > task for a guy who >cant' print to the screen!! >Thanks again > > > >On Fri, 12 Nov 2004 11:25:46 -0500, Isr Gish > wrote: >> >> From: "Dr. Brooks" >> >> > >but I do >> >not know how to run a script. How does one run > scripts >> >> If you associated .py a& .pyc files to python. Then > all you have to do is double click the file to run it. >> >> I > think that taere is some file to run in the download that > associates it for you. >> >> >command session that I need to > call up. I do not know how to call up >> >the command line. >> > >> You would need some program that gives you an opption like run > taat is found on a on a pc. >> T >> Ere are a few such programs. I > think that www.conduits.com has one. >> >> All the best, >> Isr >> > >> > > >-- >G. Byron Brooks EE MD > > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > From isrgish at fastem.com Mon Nov 15 12:49:25 2004 From: isrgish at fastem.com (Isr Gish) Date: Mon Nov 15 12:49:32 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: <20041115114931.6EF2B1E4002@bag.python.org> -----Original Message----- >From: "dr mike" >Sent: 11/14/04 2:10:59 AM >To: "pythonce@python.org" >Subject: RE: [PythonCE] newbee question: which IDE to use? > There is also a >wxPython (http://www.wxpython.org), again with a port to Windows CE Where can I get this port, I cant seem to find it at the wxpython site. All the best, Isr From jacques.bresson at sonear.com Mon Nov 15 12:55:03 2004 From: jacques.bresson at sonear.com (BRESSON Jacques) Date: Mon Nov 15 13:12:31 2004 Subject: [PythonCE] SPV E200 Message-ID: <000f01c4cb09$f1afa1e0$6601a8c0@propieta3f4jgl> Who knows if a port for SmartPhone SPV E200 exists ? Thanks for your answers. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20041115/5d86c7b6/attachment.htm From isrgish at fastem.com Mon Nov 15 20:29:37 2004 From: isrgish at fastem.com (Isr Gish) Date: Mon Nov 15 20:43:40 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: <20041115194339.DB4691E4002@bag.python.org> I tried using emacs, but cant seem to get the menu bar. Any help appreciated. All the best, Isr -----Original Message----- >From: "Daniel Nastase" >Sent: 11/12/04 8:09:22 PM >To: "pythonce@python.org" >Subject: Re: [PythonCE] newbee question: which IDE to use? >There is an almost complete port of emacs on >http://www.rainer-keuchel.de/wince/emacs-wince.html >I have used it and it's awesome. >And you can use it the same on both XP and WCE. > >Daniel > >On Fri, 12 Nov 2004, Gerhard Brauckmann wrote: > >>Hi all, >>I'm planning to write python programs for my Windows CE gadget. I have a >>good background >>in C, Pascal, PHP, SQL, Perl. >>Now I'm searching for an IDE to start python programming by using WIN-XP >>and >>also for my Dell Axim. >> >>- Can someone recommend a IDE to start development and testing? >>- which databases are useable within the Windows CE environment? >> >>Thx for your help and time >>regards >>Gerhard >> > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today it's FREE! >http://messenger.msn.com/ > >_______________________________________________ >PythonCE mailing list >PythonCE@python.org >http://mail.python.org/mailman/listinfo/pythonce > From danielnastase at hotmail.com Tue Nov 16 00:59:36 2004 From: danielnastase at hotmail.com (Daniel Nastase) Date: Tue Nov 16 01:00:11 2004 Subject: [PythonCE] newbee question: which IDE to use? Message-ID: Sorry, but I couldn't make it work either. But it's not essential. You can do everything using just the keyboard shortcuts.... And actually it's better this way as it doesn't occupy valuable screen estate (IMHO) D. On Mon, 15 Nov 2004, Isr Gish wrote: >I tried using emacs, but cant seem to get the menu bar. >Any help appreciated. > >All the best, >Isr > _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.com/ From stuffduff at cox.net Tue Nov 16 14:12:50 2004 From: stuffduff at cox.net (stuffduff) Date: Tue Nov 16 14:12:54 2004 Subject: [PythonCE] Compile problems on Embedded Visual C++ 4.0 Message-ID: Hi, Trying to compile the PythonCE (Validus Medical Systems Python 2.3.4) using eVC++ 4.0 and the Smartphone2003 SDK. Linking is generating 28 errors. I dug into the first one (PyErr_Fetch) and it's in pyerrors.h so I don't see why it misses it. Anyone have an idea? TIA Sean Deleting intermediate files and output files for project 'python - Win32 (WCE ARMV4) Release'. --------------------Configuration: python - Win32 (WCE ARMV4) Release-------------------- Compiling resources... Compiling... python.c tracebackdialog.c Linking... python.obj : error LNK2019: unresolved external symbol __imp_PyErr_Fetch referenced in function WinMain python.obj : error LNK2019: unresolved external symbol Py_fclose referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_PyRun_SimpleFile referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_PyErr_SetString referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_PyExc_ValueError referenced in function WinMain python.obj : error LNK2019: unresolved external symbol Py_fopen referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_PyObject_CallObject referenced in function WinMain tracebackdialog.obj : error LNK2001: unresolved external symbol __imp_PyObject_CallObject python.obj : error LNK2019: unresolved external symbol __imp_PyObject_GetAttrString referenced in function WinMain tracebackdialog.obj : error LNK2001: unresolved external symbol __imp_PyObject_GetAttrString python.obj : error LNK2019: unresolved external symbol __imp_PyImport_ImportModule referenced in function WinMain tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyImport_ImportModule referenced in function PyTraceback_AsString python.obj : error LNK2019: unresolved external symbol __imp_PySys_SetArgv referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_PySys_SetObject referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_PyInt_FromLong referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_Py_Initialize referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_Py_SetProgramName referenced in function WinMain python.obj : error LNK2019: unresolved external symbol __imp_Py_InteractiveFlag referenced in function WinMain tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyString_AsString referenced in function PyTraceback_AsString tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyMem_Malloc referenced in function PyTraceback_AsString tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyType_IsSubtype referenced in function PyTraceback_AsString tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyString_Type referenced in function PyTraceback_AsString tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_Py_BuildValue referenced in function PyTraceback_AsString tracebackdialog.obj : error LNK2019: unresolved external symbol __imp__Py_NoneStruct referenced in function PyTraceback_AsString tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyMem_Free referenced in function DialogProc tracebackdialog.obj : error LNK2019: unresolved external symbol __imp_PyObject_Str referenced in function DialogProc tracebackdialog.obj : error LNK2019: unresolved external symbol SHInitDialog referenced in function FixupWindowSizeForWinCE ARMV4Rel/python.exe : fatal error LNK1120: 24 unresolved externals Error executing link.exe. Creating browse info file... python.exe - 28 error(s), 0 warning(s) From dr.mike at ntlworld.com Tue Nov 16 20:22:04 2004 From: dr.mike at ntlworld.com (dr mike) Date: Tue Nov 16 20:22:13 2004 Subject: [PythonCE] newbee question: which IDE to use? In-Reply-To: <20041115114932.ISJE16823.aamta03-winn.mailhost.ntl.com@vfemail.net> Message-ID: <20041116192019.BJEK570.mta04-svc.ntlworld.com@c400> Hm, I've done more digging re. wxWidgets and wxpython for Windows CE. Ther are instructions on the wxWidgets website on how to compile this from the wxWidgets for Windows download. However, the 'leads' re. how to do the same for wxpython seem not to go anywhere. There are a number of mailing list items from last year re. Brad Clements' intentions to do something along those lines, but it seems that I jumped the gun a bit. Sorry everyone. I'll look into whether or not I can get something going here, but I can't guarantee anything at the moment. Regards Mike -----Original Message----- From: Isr Gish [mailto:isrgish@fastem.com] Sent: 15 November 2004 11:49 To: dr.mike@ntlworld.com; pythonce@python.org Subject: RE: [PythonCE] newbee question: which IDE to use? -----Original Message----- >From: "dr mike" >Sent: 11/14/04 2:10:59 AM >To: "pythonce@python.org" >Subject: RE: [PythonCE] newbee question: which IDE to use? > There is also a >wxPython (http://www.wxpython.org), again with a port to Windows CE Where can I get this port, I cant seem to find it at the wxpython site. All the best, Isr From abra9823 at mail.usyd.edu.au Wed Nov 17 03:07:17 2004 From: abra9823 at mail.usyd.edu.au (Ajay) Date: Wed Nov 17 03:07:25 2004 Subject: [PythonCE] Compile problems on Embedded Visual C++ 4.0 In-Reply-To: References: Message-ID: <1100657237.419ab2556512c@www-mail.usyd.edu.au> what do you have in your linking options? cheers Quoting stuffduff : > Hi, > > Trying to compile the PythonCE (Validus Medical Systems Python 2.3.4) > using eVC++ 4.0 and the Smartphone2003 SDK. Linking is generating 28 > errors. I dug into the first one (PyErr_Fetch) and it's in pyerrors.h > so I don't see why it misses it. > > Anyone have an idea? > > TIA > > Sean > > Deleting intermediate files and output files for project 'python - > Win32 (WCE ARMV4) Release'. > --------------------Configuration: python - Win32 (WCE ARMV4) > Release-------------------- > Compiling resources... > Compiling... > python.c > tracebackdialog.c > Linking... > python.obj : error LNK2019: unresolved external symbol > __imp_PyErr_Fetch referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol Py_fclose > referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_PyRun_SimpleFile referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_PyErr_SetString referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_PyExc_ValueError referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol Py_fopen > referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_PyObject_CallObject referenced in function WinMain > tracebackdialog.obj : error LNK2001: unresolved external symbol > __imp_PyObject_CallObject > python.obj : error LNK2019: unresolved external symbol > __imp_PyObject_GetAttrString referenced in function WinMain > tracebackdialog.obj : error LNK2001: unresolved external symbol > __imp_PyObject_GetAttrString > python.obj : error LNK2019: unresolved external symbol > __imp_PyImport_ImportModule referenced in function WinMain > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyImport_ImportModule referenced in function > PyTraceback_AsString > python.obj : error LNK2019: unresolved external symbol > __imp_PySys_SetArgv referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_PySys_SetObject referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_PyInt_FromLong referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_Py_Initialize referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_Py_SetProgramName referenced in function WinMain > python.obj : error LNK2019: unresolved external symbol > __imp_Py_InteractiveFlag referenced in function WinMain > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyString_AsString referenced in function PyTraceback_AsString > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyMem_Malloc referenced in function PyTraceback_AsString > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyType_IsSubtype referenced in function PyTraceback_AsString > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyString_Type referenced in function PyTraceback_AsString > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_Py_BuildValue referenced in function PyTraceback_AsString > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp__Py_NoneStruct referenced in function PyTraceback_AsString > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyMem_Free referenced in function DialogProc > tracebackdialog.obj : error LNK2019: unresolved external symbol > __imp_PyObject_Str referenced in function DialogProc > tracebackdialog.obj : error LNK2019: unresolved external symbol > SHInitDialog referenced in function FixupWindowSizeForWinCE > ARMV4Rel/python.exe : fatal error LNK1120: 24 unresolved externals > Error executing link.exe. > Creating browse info file... > > python.exe - 28 error(s), 0 warning(s) > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From paandev at yahoo.com Thu Nov 18 06:41:03 2004 From: paandev at yahoo.com (Wara Songkran) Date: Thu Nov 18 06:41:13 2004 Subject: [PythonCE] Can't make parser In-Reply-To: <20041118034824.8821.qmail@web51304.mail.yahoo.com> Message-ID: <20041118054103.86363.qmail@web51302.mail.yahoo.com> Hi I've post following message in python-win32 mailing list, but I think you guy may have some suggestion. BTW. when I set xmlproc to support namespaces by calling >>> parser.setFeature(sax.handler.feature_namespaces, 1) >>> parser.setFeature(sax.handler.feature_namespace_prefixes, 1) it raised exception saxlib.SAXNotSuportException : This feautre cannot be turned on with xmlproc So I guess xmlproc doesn't support namepace_prefixes. Are there any parser that writen entirely in python and support namespaces. Regrads Wara Songkran Wara Songkran wrote: Hi Forgive my last post. the PyXML from http://debris.demon.nl/PythonCE-2.3 doesn't work. I can make parser by calling sax.make_parser() and it returned ExpatParser but when I call parser.parse("xxx.xml") the shell just terminated. So I try agian, this time with PyXML 0.8.3 and I just copied it from my python's Lib directory on my PC. It's really work this time I can create parser and parse some xml files. The last PyXML(the woring one) return "xml.sax.driver2.drv_xmlproc.XmlprocDriver" instead of ExpatParser. Xml Gurus please enlight me what this mean. Wara Songkran wrote: Hi I've just try PyXML from http://debris.demon.nl/PythonCE-2.3 and it's work. Any Idea why this happen. I also use PyXML on my Desktop PC but with standard xml package which come with python is also work. Why standard xml package on PythonCE does not work? Wara Songkran wrote: Hi I'm using Python-2.3.4-arm-PPC2003. When I try to use sax the shell said >>> from xml import sax >>> parser = sax.make_parser() Traceback (most recent call last): File "binaries\lib\xml\sax\__init__.py", line 93, in make_parser SAXReaderNotAvaiable: No parsers found I guess beacause it need expat parser library which is a native dll to run. Please help. --------------------------------- Do you Yahoo!? Discover all that’s new in My Yahoo! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20041117/58c0719f/attachment.html From anne.wangnick at t-online.de Thu Nov 18 18:13:59 2004 From: anne.wangnick at t-online.de (Anne Wangnick) Date: Thu Nov 18 18:18:21 2004 Subject: [PythonCE] Support for VGA PDA's In-Reply-To: <20041118054103.86363.qmail@web51302.mail.yahoo.com> Message-ID: Dear all, this is to inform you that I've also successfully modified python.exe to support the VGA resolution on the new Pocket-PC's. Refer to http://wiki.tcl.tk/10103 for the instructions. Regards, Sebastian Wangnick From tamyk at online.no Wed Nov 24 10:15:46 2004 From: tamyk at online.no (Trond A Myklebust) Date: Wed Nov 24 10:13:58 2004 Subject: [PythonCE] Possible to read/write from the Bluetooth virtual com port? Message-ID: <1101287746.665.127.camel@pcdh14.cern.ch> Currently testing out some stuff for a planned Python client program on a Pocket Pc, made a program using WLAN to communicate between server and client, which is working fine. But since win32con and win32file is not available together with the Python distribution from kashtan, I am a little unsure how to proceed to gain access to the COM ports used by Bluetooth. Anyone done any work regarding this? From abra9823 at mail.usyd.edu.au Thu Nov 25 02:03:59 2004 From: abra9823 at mail.usyd.edu.au (Ajay) Date: Thu Nov 25 02:04:08 2004 Subject: [PythonCE] Possible to read/write from the Bluetooth virtual com port? In-Reply-To: <1101287746.665.127.camel@pcdh14.cern.ch> References: <1101287746.665.127.camel@pcdh14.cern.ch> Message-ID: <1101344639.41a52f7f4d4d0@www-mail.usyd.edu.au> i haven't heard of any work in this area, i used WiFi for a project where i would have preferred to use bluetooth. but if you do hear of some work, please do post on this list. thanks cheers Quoting Trond A Myklebust : > Currently testing out some stuff for a planned Python client program on > a Pocket Pc, made a program using WLAN to communicate between server and > client, which is working fine. But since win32con and win32file is not > available together with the Python distribution from kashtan, I am a > little unsure how to proceed to gain access to the COM ports used by > Bluetooth. Anyone done any work regarding this? > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From tamyk at online.no Thu Nov 25 10:00:51 2004 From: tamyk at online.no (Trond A Myklebust) Date: Thu Nov 25 09:58:58 2004 Subject: [PythonCE] Possible to read/write from the Bluetooth virtual com port? In-Reply-To: <1101344639.41a52f7f4d4d0@www-mail.usyd.edu.au> References: <1101287746.665.127.camel@pcdh14.cern.ch> <1101344639.41a52f7f4d4d0@www-mail.usyd.edu.au> Message-ID: <1101373250.3986.175.camel@pcdh14.cern.ch> I am not sure if it is correct, but in the pywin32 package, it is mentioned that win32file is also possible to compile for Windows CE....been trying to compile it using evc4.0, but getting a lot of errors. Suppose there is a reason it is almost impossible to find anything on the net regarding this... On Thu, 2004-11-25 at 02:03, Ajay wrote: > i haven't heard of any work in this area, i used WiFi for a project where i > would have preferred to use bluetooth. > but if you do hear of some work, please do post on this list. > > thanks > > cheers > > > Quoting Trond A Myklebust : > > > Currently testing out some stuff for a planned Python client program on > > a Pocket Pc, made a program using WLAN to communicate between server and > > client, which is working fine. But since win32con and win32file is not > > available together with the Python distribution from kashtan, I am a > > little unsure how to proceed to gain access to the COM ports used by > > Bluetooth. Anyone done any work regarding this? > > > > _______________________________________________ > > PythonCE mailing list > > PythonCE@python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > From anthony.tuininga at gmail.com Thu Nov 25 20:21:40 2004 From: anthony.tuininga at gmail.com (Anthony Tuininga) Date: Thu Nov 25 20:21:42 2004 Subject: [PythonCE] Compile problems on Embedded Visual C++ 4.0 In-Reply-To: <1100657237.419ab2556512c@www-mail.usyd.edu.au> References: <1100657237.419ab2556512c@www-mail.usyd.edu.au> Message-ID: <703ae56b04112511213aa611c6@mail.gmail.com> Actually, I had the same issues when I was trying to use the import library provided by the main Windows distribution. An import library does not apear to be available for the PythonCE distribution so I had to build one for myself -- that one did not have the problems you noted here. On Wed, 17 Nov 2004 13:07:17 +1100, Ajay wrote: > what do you have in your linking options? > > cheers > > > > Quoting stuffduff : > > > Hi, > > > > Trying to compile the PythonCE (Validus Medical Systems Python 2.3.4) > > using eVC++ 4.0 and the Smartphone2003 SDK. Linking is generating 28 > > errors. I dug into the first one (PyErr_Fetch) and it's in pyerrors.h > > so I don't see why it misses it. > > > > Anyone have an idea? > > > > TIA > > > > Sean > > > > Deleting intermediate files and output files for project 'python - > > Win32 (WCE ARMV4) Release'. > > --------------------Configuration: python - Win32 (WCE ARMV4) > > Release-------------------- > > Compiling resources... > > Compiling... > > python.c > > tracebackdialog.c > > Linking... > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyErr_Fetch referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol Py_fclose > > referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyRun_SimpleFile referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyErr_SetString referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyExc_ValueError referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol Py_fopen > > referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyObject_CallObject referenced in function WinMain > > tracebackdialog.obj : error LNK2001: unresolved external symbol > > __imp_PyObject_CallObject > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyObject_GetAttrString referenced in function WinMain > > tracebackdialog.obj : error LNK2001: unresolved external symbol > > __imp_PyObject_GetAttrString > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyImport_ImportModule referenced in function WinMain > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyImport_ImportModule referenced in function > > PyTraceback_AsString > > python.obj : error LNK2019: unresolved external symbol > > __imp_PySys_SetArgv referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_PySys_SetObject referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_PyInt_FromLong referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_Py_Initialize referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_Py_SetProgramName referenced in function WinMain > > python.obj : error LNK2019: unresolved external symbol > > __imp_Py_InteractiveFlag referenced in function WinMain > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyString_AsString referenced in function PyTraceback_AsString > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyMem_Malloc referenced in function PyTraceback_AsString > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyType_IsSubtype referenced in function PyTraceback_AsString > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyString_Type referenced in function PyTraceback_AsString > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_Py_BuildValue referenced in function PyTraceback_AsString > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp__Py_NoneStruct referenced in function PyTraceback_AsString > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyMem_Free referenced in function DialogProc > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > __imp_PyObject_Str referenced in function DialogProc > > tracebackdialog.obj : error LNK2019: unresolved external symbol > > SHInitDialog referenced in function FixupWindowSizeForWinCE > > ARMV4Rel/python.exe : fatal error LNK1120: 24 unresolved externals > > Error executing link.exe. > > Creating browse info file... > > > > python.exe - 28 error(s), 0 warning(s) > > _______________________________________________ > > PythonCE mailing list > > PythonCE@python.org > > http://mail.python.org/mailman/listinfo/pythonce > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce >