From s3010096 at kmitl.ac.th Tue Sep 2 02:50:25 2003 From: s3010096 at kmitl.ac.th (s3010096@kmitl.ac.th) Date: Mon Sep 1 14:43:41 2003 Subject: [PythonCE] Can not import module Error at pcceshell.py Message-ID: <1914.161.246.5.54.1062442225.squirrel@161.246.34.27> Used pcceshell.py in frist version ( Not bug fix ) Python 2.2+ (#0, Jan 20 2002, 13:30:34) [MSC 32 bit (ARM)] on Pocket PC >>> import web Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 528, in Interact exec codeOb in locals File "", line 1, in ? File "\Program Files\Python\web.py", line 4, in ? import urllib File "\Program Files\Python\lib\urllib.py", line 26, in ? ImportError: No module named _socket When I chang used pcceshell.py in version 02/12/12 22:00 Telion bug fi= xed And I can not get the python >>> Traceback(innermost last): File =93\Program Files\Python\lib\pcceshell.py=94,line 1102, in main Shell =3D SimpleShell() File =93\Program Files\Python\lib\pcceshell.py=94, line 236, in __init__ Self.plf=3DpLOGFONT(self.if) Exceptions.NameError: global name =91pLOGFONT=92 is not defined then I set a comment on line #self.plf=3DpLOGFONT(self.lf) Python 2.2+ (#0, Jan 20 2002, 13:30:34) [MSC 32 bit (ARM)] on Pocket PC Type "help", "copyright", "credits" or "license" for more information. >>> import web Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 952, in Interact exec codeOb in slocals File "", line 1, in ? File "\Program Files\Python\web.py", line 2, in ? import urllib File "\Program Files\Python\lib\urllib.py", line 26, in ? ImportError: No module named _socket >>> ---------- SetCursor(LoadCursor(0, 32514)) try: try: exec codeOb in slocals  line 952 except SystemExit: raise except: exc_type, exc_value, exc_traceback =3D sys.exc_info() l =3D len(traceback.extract_tb(sys.exc_traceback)) try: 1/0 except: And then test this >>>from urllib import * >>>dir(urllib) [=91__builtins__=92,=92__doc__=92,=92__file__=92,=92__name__=92,=92string= =92] Please help Thanks Chakrit From kashtan at Validus.Com Mon Sep 8 11:11:59 2003 From: kashtan at Validus.Com (David L. Kashtan) Date: Mon Sep 8 13:10:54 2003 Subject: [PythonCE] Python 2.3 for CE Message-ID: <000301c3762c$5015a420$981e2ec7@DAVIDSLAPTOP> I am the person Brad mentioned that is working on the 2.3 port of Python CE. I decided that they way I wanted to do the port was to make things as close to Win/32 as possible -- so there would be a minimum of file merging required. This now done and I have 2.3 up and running. The changes to the 2.3 sources were minimal. Once Brad is back, I will work with him to get everything packaged up. If anybody needs things immediately, let me know and I will figure out a way to delivery it. David From Michael.Foord at tbsmerchants.co.uk Tue Sep 9 09:19:56 2003 From: Michael.Foord at tbsmerchants.co.uk (Michael Foord) Date: Tue Sep 9 03:20:13 2003 Subject: [PythonCE] Time module Under 2.2.3 - Test under 2.3 Message-ID: <3F5D7F1C.3080501@tbsmerchants.co.uk> This question may now be redundant..... but I have been writing python scripts and using them under Python for windows and Python for PocketPC. Under PythonCE (or whatever the correct name is...) when I try to use the function strf() from the tiem module (ie. import time, print time.strf(format string) ) I get the error time module has no such function. The same code works fine under windows on a desktop. Can this be tested on the new 2.3 distribution ? I eagerly await the new version :-) Fuzzyman -- Michael Foord Sales Daventry Depot TBS Builders Merchants Ltd Hackwood Road Daventry Northants NN11 4ES Tel : 01327 877378, Fax : 01327 300598, Mobile : 07740 774204 http://www.TBSMerchants.co.uk --- 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.learnlandrover.com 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 ----- This email is confidential & intended solely for the use of the individual to whom it is addressed. Any views presented are solely those of the author & do not necessarily represent those of Towcester Building Supplies. If you are not the intended recipient, be advised that you have received this email in error & that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. Any files attached to this email will have been checked with virus software before transmission. However, you should carry out your own virus check before opening any attachment. Towcester Building Supplies accepts no liability for any loss or damage which may be caused by software viruses. From s.dolci at drr.cnr.it Tue Sep 9 11:10:56 2003 From: s.dolci at drr.cnr.it (Stefano DOLCI) Date: Tue Sep 9 04:04:58 2003 Subject: [PythonCE] Python CE: a stable version. Message-ID: <5.2.0.9.2.20030909095105.00ae41c0@mailer.drr.cnr.it> Rome, 9 september 2003 First of all, let me express my congratulations for all people who spends time and energies developing a stable version of Python on Pocket PC platform: thanks guys! I have tested the last version on my Dell Axim X5: as a newbie (that's what I am) I had some difficulties in gathering all patches that version needs and, after doing that, I still found out that module POPLIB doesn't work properly on Pocket PC platform. Am I right, or being a "newbie" made me loose some crucial aspect of installation and configuration? (If I am right) Do the new version correct this problem? Bye. Stefano DOLCI From maoy at cis.upenn.edu Sat Sep 13 11:11:54 2003 From: maoy at cis.upenn.edu (Yun Mao) Date: Sat Sep 13 11:11:59 2003 Subject: [PythonCE] select module Message-ID: Hi, I'm very new to python CE stuff, and I have no luck in finding the select module. I download the code from http://www.murkworks.com/Research/Python/PocketPCPython/Overview Is there a new version or going to be a new version that support select soon? Thanks a ton. Yun From 818obuiuzz at bigfoot.com Mon Sep 22 21:12:58 2003 From: 818obuiuzz at bigfoot.com (Daphne Donnelly) Date: Mon Sep 22 00:17:48 2003 Subject: [PythonCE] Wear pheromones to score women Message-ID: <9$eb91-$q$55@ad68.lp39y> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20030923/d08c557c/attachment.html From chessman at tux.org Mon Sep 22 17:39:04 2003 From: chessman at tux.org (Samuel S Chessman) Date: Mon Sep 22 17:39:06 2003 Subject: [PythonCE] pdb infinite loop Message-ID: I tried using the python debugger with MIPS Python CE 2.2+ (#0 Apr 18, 2002) and it went into an infinite prompt loop. import pdb ; pdb.set_trace() I suspect the standard problem with console input. Sam -- Sam Chessman chessman (a) tux.org First do what's necessary, then what's possible, finally the impossible. From rui.carmo at accao.net Sun Sep 28 19:14:19 2003 From: rui.carmo at accao.net (Rui Carmo) Date: Sun Sep 28 19:14:24 2003 Subject: [PythonCE] Python 2.3 for CE Message-ID: <7CB3C902-F209-11D7-A722-00039369C134@accao.net> Hi there. I'm looking for a stable Python 2.2 or 2.3 port that has working socket and HTTP server modules for a small application I'm developing. Any news on 2.3? Thanks, Rui Carmo http://the.taoofmac.com From pcolsen at comcast.net Mon Sep 29 20:01:02 2003 From: pcolsen at comcast.net (Peter Olsen) Date: Mon Sep 29 19:58:14 2003 Subject: [PythonCE] Re: Using the PPC / Networking in PythonCE? Message-ID: <003301c386e5$efad4a50$6401a8c0@waldo> I'm _much_ more interested in TCP/IP than in Windows Networking. For example, I'd like to install a Python POP server and an SMTP server on my Jornada so I could avoid some of the control Pocket Outlook seeks to gain over my mail. ------------------------------------------------- Subject: Re: Using the PPC / Networking in PythonCE? From: "Brad Clements" murkworks.com> Date: Sun, 20 Jul 2003 17:40:10 -0400 Newsgroups: gmane.comp.python.windows-ce Organization: MurkWorks, Incorporated. Priority: normal Reply-to: bkc murkworks.com On 20 Jul 2003 at 17:08, Peter Olsen wrote: > Now, the package would become even more useful if I could only > access the PPC's network connections from PythonCE. I haven't > figured out how to do this. Does anyone have any suggestions? Which networking functions? Windows networking, aka file sharing, or TCP/IP? Peter Olsen Ae.E., P.E. (Maryland License 12283) P.O. Box 410, Simpsonville, MD 21150 "Engineering is the art of using a professional knowledge of mathematics and the physical sciences to improve the quality of life." From jbauer at rubic.com Tue Sep 30 07:41:25 2003 From: jbauer at rubic.com (Jeff Bauer) Date: Tue Sep 30 07:42:27 2003 Subject: [PythonCE] Re: Using the PPC / Networking in PythonCE? References: <003301c386e5$efad4a50$6401a8c0@waldo> Message-ID: <3F796BE5.203BB448@rubic.com> At the 7th International Python Conference in 1998 (has it been that long ago?) I demonstrated a Python web server running on a Sharp Mobilon HC-4600. At the time, I had also hacked the interpreter command line to run be interactively from a PC console session. Additionally in the past, I've used socket datagrams to communicate debugging information from Python running on a CE device to another networked computer. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52218 Jeff Bauer Rubicon, Inc. Peter Olsen wrote: > I'm _much_ more interested in TCP/IP than in Windows Networking. > For example, I'd like to install a Python POP server and an SMTP > server on my Jornada so I could avoid some of the control Pocket > Outlook seeks to gain over my mail. From davidybl at direcway.com Tue Sep 30 19:10:45 2003 From: davidybl at direcway.com (David Youngblood) Date: Tue Sep 30 19:18:57 2003 Subject: [PythonCE] Python 2.3 for CE Message-ID: <000601c387a8$17aa7b50$ca00a8c0@davidhome> I would love to try the new 2.3 version. Could you maybe post it on Yahoo Groups\python-ce in the files section? thanks, david y -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20030930/6d803df8/attachment.html From pcolsen at comcast.net Tue Sep 30 23:22:58 2003 From: pcolsen at comcast.net (pcolsen@comcast.net) Date: Tue Sep 30 23:23:04 2003 Subject: [PythonCE] Re: Using the PPC / Networking in PythonCE? Message-ID: Jeff, Thanks! My problem seems to be that I can't get the socket module to run. I keep getting error reports that Python can't find the _socket module. I just downloaded and reinstalled the latest version, but the error remains. I've thought of switching to Jython, but it's reported to be very slow. Any suggestions? Peter > At the 7th International Python Conference in 1998 > (has it been that long ago?) I demonstrated a Python > web server running on a Sharp Mobilon HC-4600. > > At the time, I had also hacked the interpreter > command line to run be interactively from a PC > console session. > > Additionally in the past, I've used socket datagrams > to communicate debugging information from Python > running on a CE device to another networked computer. > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52218 > > Jeff Bauer > Rubicon, Inc. > > > Peter Olsen wrote: > > I'm _much_ more interested in TCP/IP than in Windows Networking. > > For example, I'd like to install a Python POP server and an SMTP > > server on my Jornada so I could avoid some of the control Pocket > > Outlook seeks to gain over my mail.