From r_deeley at yahoo.com Thu Apr 1 21:27:32 2004 From: r_deeley at yahoo.com (Richard Deeley) Date: Thu Apr 1 21:27:37 2004 Subject: [PythonCE] Re: Runing python without the pcceshell Message-ID: <20040402022732.50825.qmail@web10105.mail.yahoo.com> comments after the code. runCode: ... if file: bInteract = 0 bkeepOpen = 0 try: try: imp.load_module(...) except SystemExit: pass except: traceback.print_exc() bkeepOpen = 1 finally: file.close() and in the main body: #commented out #sys.stderr = shell #sys.stdout = shell and don't use -c. I think the best solution long term is to add option to pcceshell that supports this functionality. Indeed, it seems from the names of the variables that this was one of the original intentions. As I recall, pcceshell is a required part of this whole thing and anything that executes has to go through here. If not, forget anything I just said, there may be a much simpler way through all this. The bInteract issue isn't resolved properly here (the original code forced it to a 1 under all conditions), but it will fix the issue for the intended purpose. You will get a shell and traceback window if the thing dies. Otherwise output goes to the terminal window (for which I use a DOS terminal emulator). Richard. > I remmember a while back that Richard Deeley wrote something aboutbtweeking pcceshell, so that > you could run Python without the shell. > I would like to know where Ibcan get more info. On this. > > Thanks > All the best > > Isr Gish > __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From ricebug at clicktv-world.com Mon Apr 12 16:29:56 2004 From: ricebug at clicktv-world.com (Kim Yong Tae) Date: Mon Apr 12 16:30:17 2004 Subject: [PythonCE] Where can I get Python CE Source? Message-ID: <002701c420cc$eba4f490$a900a8c0@clickc.co.kr> Hi! I'm Korean Python programmer. I want to build x86 HPC version of python CE. But I can't download pyceall3.zip file. I can't log in to ftp.murkworks.com, and pyceall3.zip on www.tux.org does not include HPC files.(has ppc files only) Where can I get Python CE source for HPC? Please let me know where can I download source, or upload that files to ftp://211.174.176.132 (I'll not delete the file permanently for other someone who need source.(if possible, at least several month) Please help me... Forgive my poor English. Bye- From stuffduff at cox.net Wed Apr 28 18:22:45 2004 From: stuffduff at cox.net (stuffduff) Date: Wed Apr 28 18:22:49 2004 Subject: [PythonCE] PPCPythonR2 and Smartphone2002 Message-ID: Hi, I'd like to know if there is an easy way to change the paths for PPCPythonR2 so that I can run it on my Smartphone2002 phone. The documentation references a folder named "My Pocket PC." What I have is a directory "IPSM" which contains a Windows and a Program Files directory, however there is not enough memory to install both folders in that directory. My solution would involve changing the path to locate the Windows folder files to '/IPSM/Windows' and the /IPSM/Program Files/Python folder to '/Storage Card/Program Files/Python'. Is there any way to make these path adjustments short of getting a specially compiled set of exe and dll files? TIA, stuffduff