From mailings at johnnydebris.net Mon Nov 3 08:31:35 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Nov 3 08:32:28 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: <3FA65478.8090608@pcblokes.com> References: <3F9D20EA.5030100@johnnydebris.net> <3F9D2339.90800@pcblokes.com> <3F9D2644.6010900@johnnydebris.net> <3FA133EE.1070200@pcblokes.com> <3FA136FF.7030809@johnnydebris.net> <3FA21ABA.5000309@pcblokes.com> <3FA248A8.7080704@johnnydebris.net> <3FA6302B.2070101@pcblokes.com> <3FA63814.3050806@johnnydebris.net> <3FA639E5.4010900@pcblokes.com> <3FA65276.3040905@johnnydebris.net> <3FA65478.8090608@pcblokes.com> Message-ID: <3FA658B7.6020201@johnnydebris.net> Voidspace wrote: > It's the *most* basic example of Tk use from the 'programming python' > book ! > > from Tkinter import * > root = Tk() > Label(root, text='Hello GUI world!').pack(side=TOP) > root.mainloop() > > For example....... !! Well I'm really sure that will work on my installation: I already wrote a couple of small Tkinter scripts and they worked just fine... So I doubt whether I can reproduce this one (but I'll try anyway tonight). > Whereas entering the same lines one at a time in the interpreter works ! > Except in the example below... root.quit *doesn't* cause the window to > dissapear...... ? > > from Tkinter import * > root = Tk() > Button(root, text='press', command=root.quit).pack(side=LEFT) > root.mainloop() That's right, but that's due to a 'try: except' that catches systemexits and such as well, even if you call 'sys.exit()' from a Python script it will leave the interpreter open... I can try to find that as well, don't know when I'm going to have time to browse through the pcceshell.py to search for that though... Cheers, Guido P.S. Just noticed that I saw only your messages in the thread, obviously I'm not used to mailinglists that don't add their own address to the reply-to list ;) I'll try to keep it in mind, although I think your quoting made things clear enough for readers to follow the thread ;) From mailings at johnnydebris.net Mon Nov 3 09:38:13 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Nov 3 09:39:01 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: <3FA65D81.3010109@pcblokes.com> References: <3F9D20EA.5030100@johnnydebris.net> <3F9D2339.90800@pcblokes.com> <3F9D2644.6010900@johnnydebris.net> <3FA133EE.1070200@pcblokes.com> <3FA136FF.7030809@johnnydebris.net> <3FA21ABA.5000309@pcblokes.com> <3FA248A8.7080704@johnnydebris.net> <3FA6302B.2070101@pcblokes.com> <3FA63814.3050806@johnnydebris.net> <3FA65D81.3010109@pcblokes.com> Message-ID: <3FA66855.20807@johnnydebris.net> Voidspace wrote: > Just to clarify - I can run python scripts fine. > The pcceshell bombs out when I run a Tk script.............. > > Fuzzy Well, then I'm glad you did, I think I didn't completely understand that yet, I actually thought it was the other way round... I think I'd probably have read the thread again before really trying to find out what went wrong, but not sure there as well ;) I'll grab the source of pcceshell.py tonight and hopefully will be able to answer you tomorrow... Cheers, Guido From goodey27 at juno.com Mon Nov 3 18:52:14 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Mon Nov 3 18:53:17 2003 Subject: [PythonCE] Version 2.3 Message-ID: <20031103.185215.1324.0.goodey27@juno.com> 1) When I try to open a file in Ver. 2.2 that doesn't exist. Like this for example: ">>> f = open('my documents\\python\\myfile.txt', 'r')" I get this Traceback. "Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 457, in Interact exec codeOb in locals IOError: [Errno 2] The system cannot find the file specified: 'my documents\\python\\myfile.txt'" This Traceback tells me exactly what the problem is. While in Ver. 2.3 for the same thing I get this Traceback. "Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 460, in Interact IOError: invalid mode: r" witch doesn't really tell me the problem 2)When I run this code in Ver. 2.2 it works as it should. But when I run it in Ver. 2.3 I get an I/O error(not the excepted error) "try: f = open('myfile.txt') s = f.readline() i = int(string.strip(s)) except IOError, (errno, strerror): print "I/O error(%s): %s" % (errno, strerror) except ValueError: print "Could not convert data to an integer." except: print "Unexpected error:", sys.exc_info()[0] raise" This is the Traceback I get in Ver. 2.3 "Traceback (most recent call last): File "\Program Files\Python\lib\pcceshell.py", line 460, in Interact ValueError: need more than 1 value to unpack" I conclude from all this that something changed about how the Exception Handling works, and the change is for the worse. Maybe and hopefully this can be corrected (especially problem #1). 3) I tried to use the file method truncate but I get an error any help would be appreciated. Thanks Isr ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From mailings at johnnydebris.net Tue Nov 4 05:39:59 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Tue Nov 4 05:40:57 2003 Subject: [PythonCE] Version 2.3 In-Reply-To: <20031103.185215.1324.0.goodey27@juno.com> References: <20031103.185215.1324.0.goodey27@juno.com> Message-ID: <3FA781FF.3040207@johnnydebris.net> Hi there! Since I'm not around in the PythonCE world I really don't know what's different between pcceshell for 2.2 and the one for 2.3, can anybody tell me more? Are bugs for releases tracked somewhere and is there an archive of fixes and such? Cheers, Guido From mailings at johnnydebris.net Tue Nov 4 05:40:20 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Tue Nov 4 05:41:16 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: <20031103.193051.2160.0.goodey27@juno.com> References: <20031103.193051.2160.0.goodey27@juno.com> Message-ID: <3FA78214.1080503@johnnydebris.net> goodey27@juno.com wrote: >>I'll grab the source >>of >>pcceshell.py tonight and hopefully will be able to answer you >>tomorrow... >> >> > >There is a pcceshell from Telion that he added alot of good stuff. I >think thjat if anything is done it should be done on that. >It can be found on the CE Wiki page. >I'm also including it here as an attachment put dont know if the mailing >list will let it go thrue. > >Isr > > Ehrm... Could you tell me how to get on that wiki? ;) Cheers, Guido From mailings at johnnydebris.net Tue Nov 4 05:40:41 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Tue Nov 4 05:41:36 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: <3FA669AE.6010900@pcblokes.com> References: <3F9D20EA.5030100@johnnydebris.net> <3F9D2339.90800@pcblokes.com> <3F9D2644.6010900@johnnydebris.net> <3FA133EE.1070200@pcblokes.com> <3FA136FF.7030809@johnnydebris.net> <3FA21ABA.5000309@pcblokes.com> <3FA248A8.7080704@johnnydebris.net> <3FA6302B.2070101@pcblokes.com> <3FA63814.3050806@johnnydebris.net> <3FA65D81.3010109@pcblokes.com> <3FA66855.20807@johnnydebris.net> <3FA669AE.6010900@pcblokes.com> Message-ID: <3FA78229.70708@johnnydebris.net> Voidspace wrote: > Just to further clarify ! When I say Tk script I mean a python script > that imports the Tkinter module... not a Tcl script itself or anything > fancy like that ;) > > Odd that it works typed from the interpreter........ > Well I tried to reproduce your problem but couldn't, both running scripts with the interpreter as hacking in some code in interactive mode worked just fine. I did find out why closing an Tk app makes the interpreter pop up, and I think it should be quite easy to modify... Problem is just that I don't have the source of pcceshell.py for 2.3 lying around. Do you know where I can get it? Cheers, Guido From mike at pcblokes.com Tue Nov 4 08:07:15 2003 From: mike at pcblokes.com (Voidspace) Date: Tue Nov 4 08:07:23 2003 Subject: [PythonCE] Using Tkinter References: <3F9D20EA.5030100@johnnydebris.net> <3F9D2339.90800@pcblokes.com> <3F9D2644.6010900@johnnydebris.net> <3FA133EE.1070200@pcblokes.com> <3FA136FF.7030809@johnnydebris.net> <3FA21ABA.5000309@pcblokes.com> <3FA248A8.7080704@johnnydebris.net> <3FA6302B.2070101@pcblokes.com> <3FA63814.3050806@johnnydebris.net> <3FA65D81.3010109@pcblokes.com> <3FA66855.20807@johnnydebris.net> <3FA669AE.6010900@pcblokes.com> <3FA78229.70708@johnnydebris.net> Message-ID: <3FA7A483.2020203@pcblokes.com> Frustrating. What device are you using pythonce on ? How did you install the packages ? I deleted my existing copy of python, unzipped the single distribution package you posted and copied the contents into my root directory...................... :-( Fuzzy Guido Wesdorp wrote: > Voidspace wrote: > >> Just to further clarify ! When I say Tk script I mean a python script >> that imports the Tkinter module... not a Tcl script itself or >> anything fancy like that ;) >> >> Odd that it works typed from the interpreter........ >> > Well I tried to reproduce your problem but couldn't, both running > scripts with the interpreter as hacking in some code in interactive mode > worked just fine. I did find out why closing an Tk app makes the > interpreter pop up, and I think it should be quite easy to modify... > Problem is just that I don't have the source of pcceshell.py for 2.3 > lying around. Do you know where I can get it? > > Cheers, > > Guido > > > > _______________________________________________ > 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://groups.yahoo.com/group/atlantis_talk/ The Atlantibot coding message group. --- http://www.atlantibots.org.uk 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 From mailings at johnnydebris.net Tue Nov 4 08:31:39 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Tue Nov 4 08:32:42 2003 Subject: [PythonCE] Using Tkinter In-Reply-To: <3FA7A483.2020203@pcblokes.com> References: <3F9D20EA.5030100@johnnydebris.net> <3F9D2339.90800@pcblokes.com> <3F9D2644.6010900@johnnydebris.net> <3FA133EE.1070200@pcblokes.com> <3FA136FF.7030809@johnnydebris.net> <3FA21ABA.5000309@pcblokes.com> <3FA248A8.7080704@johnnydebris.net> <3FA6302B.2070101@pcblokes.com> <3FA63814.3050806@johnnydebris.net> <3FA65D81.3010109@pcblokes.com> <3FA66855.20807@johnnydebris.net> <3FA669AE.6010900@pcblokes.com> <3FA78229.70708@johnnydebris.net> <3FA7A483.2020203@pcblokes.com> Message-ID: <3FA7AA3B.7000303@johnnydebris.net> Voidspace wrote: > Frustrating. > What device are you using pythonce on ? An HP iPaq h1915 (cheap model, works pretty okay though ;), StrongARM 200MHz CPU, with PocketPC 2002 installed. > How did you install the packages ? I deleted my existing copy of > python, unzipped the single distribution package you posted and copied > the contents into my root directory...................... Well I have done about the same. Actually I copied the zip of the 'stripped down' distribution David Kashtan posted a couple of weeks ago, added a load of sources, compiled all those sources and added the registry keys for starting Python scripts with the Python interpreter, but I don't think leaving out any of the things I did will cause your scripts not to run. A question: is there anything specific you do to run a script? How do you start it up (since you don't seem to have the .py extension registered), do you enter the path to the interpreter and the one to the script in the explorer or so? Can you tell me exactly what you did and how you did it? Perhaps the difference in the way you start your scripts is what causes your problems? Cheers, Guido From goodey27 at juno.com Tue Nov 4 16:21:56 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Tue Nov 4 16:27:55 2003 Subject: [PythonCE] Using Tkinter Message-ID: <20031104.162620.940.2.goodey27@juno.com> Guido Wesdorp wrote: > Ehrm... Could you tell me how to get on that wiki? ;) http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/uploads/pc ceshell.py.HPC_history_etc.02-10-16 It was actualy made for the HPC But for it to work onthe Pocket PC you have to Comment out 1 line in the class SimpleShell __init__ function That line is the foolowing: self.plf=pLOGFONT(self.lf) Isr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031104/03025f92/attachment.html From tharsan at rogers.com Tue Nov 4 17:30:04 2003 From: tharsan at rogers.com (Tharsan Bhuvanendran) Date: Tue Nov 4 17:31:30 2003 Subject: [PythonCE] Loading .py files in PythonCE Message-ID: <000001c3a323$34bdc260$653fa8c0@tharsan> Hi I'm running the binaries distribution from http://www.validus.com/~kashtan And I'm wondering how can I can load .py files? When I do try to open a .py file with python.exe (from Windows/Start Menu), I get a ValueError (need more than 1 value to unpack) in lib/pcceshell.py, line 538 Thanks - Tharsan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031104/63f6ab48/attachment.html From david_edi at yahoo.com Tue Nov 4 18:29:42 2003 From: david_edi at yahoo.com (David Youngblood) Date: Tue Nov 4 18:29:50 2003 Subject: [PythonCE] Loading .py files in PythonCE In-Reply-To: <000001c3a323$34bdc260$653fa8c0@tharsan> Message-ID: <20031104232942.97311.qmail@web13507.mail.yahoo.com> I had the same problem. I copied the file 'pcceshell.py' from my last version of python and then made the following change to it: 1) open it with a file editor 2) find the function 'def RunCode(shell):' 3) about 9 lines down find 'del sys.argv[0]' 4) comment this line out. '#del sys.argv[0]' 5) save this file to your python\lib folder and try it again Hope this helps. David Y --- Tharsan Bhuvanendran wrote: > Hi > > > > I'm running the binaries distribution from > http://www.validus.com/~kashtan > > > > And I'm wondering how can I can load .py files? > > > > When I do try to open a .py file with python.exe > (from Windows/Start > Menu), I get a ValueError (need more than 1 value to > unpack) in > lib/pcceshell.py, line 538 > > > > Thanks > > - Tharsan > > > _______________________________________________ > PythonCE mailing list > PythonCE@python.org > http://mail.python.org/mailman/listinfo/pythonce > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From mike at pcblokes.com Wed Nov 5 11:43:15 2003 From: mike at pcblokes.com (Voidspace) Date: Wed Nov 5 11:43:23 2003 Subject: [PythonCE] Loading .py files in PythonCE In-Reply-To: <20031104232942.97311.qmail@web13507.mail.yahoo.com> References: <20031104232942.97311.qmail@web13507.mail.yahoo.com> Message-ID: <3FA928A3.4000507@pcblokes.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031105/7bb19081/attachment.html From david_edi at yahoo.com Wed Nov 5 12:43:42 2003 From: david_edi at yahoo.com (David Youngblood) Date: Wed Nov 5 12:43:59 2003 Subject: [PythonCE] Loading .py files in PythonCE In-Reply-To: <3FA928A3.4000507@pcblokes.com> Message-ID: <20031105174342.34443.qmail@web13508.mail.yahoo.com> actually the problem you have involves another solution. I also had the same problem with it not able to load scripts if the path had a space in it. so i modified pcceshell.py so it could accept it. try this: 1) in pcceshell.py find the function 'def RunCode(shell):' 2) now scroll down 46 lines or so down till you find the code 'fname = sys.argv[0]'. 3) replace that line of code with the following: if sys.argv[0][0]=='\\' and sys.argv[0][-2:] != 'py': if sys.argv[1][-2:]== 'py': fname = sys.argv[0] + " " + sys.argv[1] else: fname = sys.argv[0] else: fname = sys.argv[0] 4) thats it! This is not a perfect solution because it assumes there is no more than 1 space in the pathname, but it has worked fine for me. Now when you click a py script that has a space in the file name it should load it fine. --- Voidspace wrote: --------------------------------- This is the infuriating bug I had which was causing Tkinter files tofail.... I fixed it myself last night when I suddenly remembered I'd had it inthe last version...... The path of the file I'm trying to run is passed to pccedhell *without*enclosing quotes (either a windows foible or a pcceshell foible)... *So* - it doesn't understand paths with spaces in................. I run my main script from a special directory... however my Tk test Iwas storing in 'My Documents' which is why they failed..... So the solution below looks like an interesting one which I'll try.... Fuzzy David Youngblood wrote: I had the same problem. I copied the file'pcceshell.py' from my last version of python and thenmade the following change to it:1) open it with a file editor2) find the function 'def RunCode(shell):'3) about 9 lines down find 'del sys.argv[0]'4) comment this line out. '#del sys.argv[0]'5) save this file to your python\lib folder and try itagainHope this helps.David Y --- Tharsan Bhuvanendran wrote: Hi I'm running the binaries distribution fromhttp://www.validus.com/~kashtan And I'm wondering how can I can load .py files? When I do try to open a .py file with python.exe(from Windows/StartMenu), I get a ValueError (need more than 1 value tounpack) inlib/pcceshell.py, line 538 Thanks- Tharsan _______________________________________________ PythonCE mailing listPythonCE@python.orghttp://mail.python.org/mailman/listinfo/pythonce __________________________________Do you Yahoo!?Protect your identity with Yahoo! Mail AddressGuardhttp://antispam.yahoo.com/whatsnewfree_______________________________________________PythonCE mailing listPythonCE@python.orghttp://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://groups.yahoo.com/group/atlantis_talk/The Atlantibot coding message group.---http://www.atlantibots.org.ukhttp://www.learnlandrover.comhttp://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 JongAmbition is a poor excuse for not having sense enough to be lazy. -Milan Kundera __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From goodey27 at juno.com Wed Nov 5 14:57:59 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Wed Nov 5 15:00:03 2003 Subject: [PythonCE] win32process.pyd Message-ID: <20031105.145842.808.0.goodey27@juno.com> 1) I need the win32process.pyd file compiled to work with the 2.3 version does anyone now where I can get it. (I have one that worked with Version 2.2 but doesn't seem to work with 2.3). Thanks Isr ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From goodey27 at juno.com Thu Nov 6 14:37:16 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Thu Nov 6 14:42:44 2003 Subject: [PythonCE] Loading .py files in PythonCE Message-ID: <20031106.144130.1696.0.goodey27@juno.com> David Youngblood wrote: > actually the problem you have involves another > solution. I also had the same problem with it not able > to load scripts if the path had a space in it. so i > modified pcceshell.py so it could accept it. > try this: > 1) in pcceshell.py find the function 'def > RunCode(shell):' > 2) now scroll down 46 lines or so down till you find > the code 'fname = sys.argv[0]'. > 3) replace that line of code with the following: > if sys.argv[0][0]=='\\' and sys.argv[0][-2:] != 'py': > if sys.argv[1][-2:]== 'py': > fname = sys.argv[0] + " " + sys.argv[1] > else: > fname = sys.argv[0] > else: > fname = sys.argv[0] > 4) thats it! > > This is not a perfect solution because it assumes > there is no more than 1 space in the pathname, but it > has worked fine for me. > Now when you click a py script that has a space in the > file name it should load it fine. The real fix for this problem is, to change the registry entry. check first under HKEY_CLASSES_ROOT .pyc Default To see what it says then goto that string under HKEY_CLASSES_ROOT (name that you got from HKEY_CLASSES_ROOT .pyc) Shell Open Command And make sure that the "Default" Value name has a string that looks like this: "\Program Files\Python\Python.exe" "%1" Make sure esppecialy that there are double quotes around the "%1". Then go and check HKEY_CLASSES_ROOT .py and do the same for it. (My registry looks like this and every thing wroks fine) For a free registry editor goto. http://www.phm.lu/products Thanks Isr ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From mailings at johnnydebris.net Mon Nov 10 04:36:08 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Nov 10 04:37:58 2003 Subject: [PythonCE] Loading .py files in PythonCE In-Reply-To: <20031106.144130.1696.0.goodey27@juno.com> References: <20031106.144130.1696.0.goodey27@juno.com> Message-ID: <3FAF5C08.3000105@johnnydebris.net> goodey27@juno.com wrote: >The real fix for this problem is, to change the registry entry. > > I'm sorry, been sick at home for a couple of days so didn't reply. This would indeed be the best way to solve this, since not only it will make sure you'll never make a typo in booting Python scripts again, but also it allows you to open them with a single mouse-click. Btw the keys are also described in the readme.txt (or what's it called?) in the bundle. If you don't want to mess around with the registry yourself you might want to search for some utility to set file associations on CE, I'm using PocketTweak myself and that's a bit easier for tasks like this... Cheers, Guido From mailings at johnnydebris.net Mon Nov 10 04:48:01 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Nov 10 04:49:46 2003 Subject: [PythonCE] 2 issues with PythonCE Message-ID: <3FAF5ED1.2090807@johnnydebris.net> Hello there! As you may have noticed I started using PythonCE a while ago ;) and there are 2 things I noticed that I think can be improved (read: opinions I have): - It's not possible to run more than one Python interpreter at a given time. I can understand that in certain situations (mainly if you just want to use the interactive interpreter) if you click on the Python icon in the start menu, you'd probably want the interpreter opened that you were already working in, but in most cases the interactive interpreter will not be called directly but instead by running a Python application. Currently it is not possible to run two (completely different) Python applications at the same time. - When one runs a script, actually pcceshell.py is opened. This is probably required to have some way of stdout, but for Windows applications it's rather nasty to have a Python box in the 'background'... Wouldn't it be possible to have either a second executable or some other main script like pcceshell (and then use some command line switch or so to choose which one to use) which doesn't create a window itself but just interprets a script, ignoring stdout (and failing on stdin I guess)? I'm not a C programmer at all, so even though I would love to try to give it a go myself, I think I won't manage. I've browsed through some of the source files and decided that C is just too cryptic for me ;) but I think these modifications would be really cool... Cheers, Guido From goodey27 at juno.com Tue Nov 11 15:02:48 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Tue Nov 11 15:04:26 2003 Subject: [PythonCE] (no subject) Message-ID: <20031111.150332.840.2.goodey27@juno.com> Hi! When I ask for help on os.path I get a very short help without any information about the functions. When I run it on the desktop I get full information. I would like to be able to have the info on the device. Isr Gish ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From mailings at johnnydebris.net Wed Nov 12 04:06:35 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Wed Nov 12 04:08:41 2003 Subject: [PythonCE] (no subject) In-Reply-To: <20031111.150332.840.2.goodey27@juno.com> References: <20031111.150332.840.2.goodey27@juno.com> Message-ID: <3FB1F81B.2020503@johnnydebris.net> goodey27@juno.com wrote: >Hi! >When I ask for help on os.path I get a very short help without any >information about the functions. When I run it on the desktop I get full >information. I would like to be able to have the info on the device. > >Isr Gish > > This is probably because the os module in the CE dist is created especially for CE and those docstrings are just not added. I think there are more improvements that can be made there (it would for instance be nice to have at least something for os.getcwd and os.chdir), I'll take a look as soon as I got some time. I'm not sure whether there's much I can do because I don't know how much can be fixed from Python (os is a C module and I don't write C, nor do I have the ability to compile, perhaps I should install NT at home somewhere), but I'll give it a go. Cheers, Guido From mailings at johnnydebris.net Thu Nov 13 06:43:24 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Nov 13 06:45:39 2003 Subject: [PythonCE] (no subject) In-Reply-To: <20031112.151819.940.3.goodey27@juno.com> References: <20031112.151819.940.3.goodey27@juno.com> Message-ID: <3FB36E5C.4070504@johnnydebris.net> goodey27@juno.com wrote: > mailings@johnnydebris.net wrote: > > This is probably because the os module in the CE dist is created > > especially for CE and those docstrings are just not added. > > I took the actual os.py from the desktop installation and put it in my > python directory. Still I get only the small version. There are several issues you need to consider: first if there's a .pyc file it will use that in favor of a .py file (actually it will look for the last update date, so it might use your os.py after all, it rather depends), second the os.py file includes a C module that contains the actual code, it is merely a wrapper for that C module. Third I think you had problems with os.path, which is in yet another module I assume. And perhaps there are more issues which slip my mind right now ;) > > I think there > > are more improvements that can be made there (it would for instance > > be > > nice to have at least something for os.getcwd and os.chdir), > > These things were added by Telion. Attached find his updated os.py > file and his osce.py file (This file he added himself). Cool, I'll check it out! > > I'll take a > > look as soon as I got some time. I'm not sure whether there's much I > > can > > do because I don't know how much can be fixed from Python (os is a C > > > > module and I don't write C, nor do I have the ability to compile, > > perhaps I should install NT at home somewhere), but I'll give it a > > go. > > os is not in C it is found in the regular installation. I may be very wrong here, but as far as I know the os.py(c) module in the installation is a wrapper for some PythonCE specific C module, there *is* an os.py, but all the functionality is in the C file. Cheers, Guido From mailings at johnnydebris.net Thu Nov 13 06:47:22 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Nov 13 06:49:33 2003 Subject: [PythonCE] (no subject) In-Reply-To: <20031112.151819.940.3.goodey27@juno.com> References: <20031112.151819.940.3.goodey27@juno.com> Message-ID: <3FB36F4A.9000806@johnnydebris.net> goodey27@juno.com wrote: > These things were added by Telion. Attached find his updated os.py > file and his osce.py file (This file he added himself). This is *very* useful ;) Cheers! Guido From goodey27 at juno.com Sun Nov 16 15:01:41 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Sun Nov 16 15:03:53 2003 Subject: [PythonCE] Working with Files Message-ID: <20031116.150212.1116.0.goodey27@juno.com> Hi! When I try to truncate a file with f.truncate I get this IOError: IOError: (0, 'Error'). On the desktop it works fine. Please Help I'm still looking for the win32process.pyd that would work with Version 2.3 on CE. (it's needed to be able to use Telion's osce functions for example execv(...) etc.). I would try to compile it myself if I would know how. If someone can give me or lead me to information I would greatly appreciate it. Thanks Isr Gish ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From mailings at johnnydebris.net Mon Nov 17 05:02:28 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Mon Nov 17 05:05:36 2003 Subject: [PythonCE] Working with Files In-Reply-To: <20031116.150212.1116.0.goodey27@juno.com> References: <20031116.150212.1116.0.goodey27@juno.com> Message-ID: <3FB89CB4.60803@johnnydebris.net> goodey27@juno.com wrote: >Hi! >When I try to truncate a file with f.truncate I get this IOError: >IOError: (0, 'Error'). >On the desktop it works fine. Please Help > This *sounds* like the operation just isn't available on CE (afaik it's the same error I get when I try to read from stdin or so) but I'm really not sure... Cheers, Guido From jbauer at rubic.com Tue Nov 18 21:19:00 2003 From: jbauer at rubic.com (Jeff Bauer) Date: Tue Nov 18 21:21:17 2003 Subject: [PythonCE] final closure Message-ID: <3FBAD314.4040002@rubic.com> Hi all. I'm haven't been involved in the CE scene for a while and it's probably time for me to bring some closure to the situation. Some background: I first started getting involved with handheld computers during the halycon days of the Apple Newton. In fact I showed up at the second Python Conference (has it been that long ago?) with a Newton demonstrating one of our applications. The Newton was, to borrow a cliche, an "insanely great device" -- media coverage of the handwriting recognition notwithstanding. It had a really cool Smalltalkish language (Self), with decent support for GUI, persistent storage, and even communications. Then Steve Jobs killed it. :-( I had investigated the Palm Pilot, but the Pilot simply didn't possess the kind of resources we needed. The next obvious choice was the Windows CE devices. Interestingly, Brian Lloyd (Digital Creations, now Zope) had actually *ported* a version of Python (1.4 or 1.5) to the CE device. Considering that he had one of the earliest devices in use and almost no prior programming experience (he was hired by DC as an HTML guy!), his port was pretty neat-o. We shipped Brian a Sharp Mobilon to encourage his work, then send one to Mark Hammond in Australia. Unfortunately, it turned out that Mark had to pay customs on the device. Oops! Anyway, for a while it appeared that we (Rubicon) might actually fund some development for porting a decent GUI environment to CE. This idea turned out to be short-lived, however, as circumstances prevailed. Fortunately Brad and other have since picked up development, subject to their respective schedules. A couple years ago I was contacted by a Microsoft representative. He appeared to be keen on promoting Python as a development tool in the CE environment. Once he learned that Python was "Open Source" I never heard from him again. If you've gotten this far in my rambling narrative, I'd like to bring my relationship with Python/CE to a close. I have some old gadgets left over. Starting with the primary Python CE contributors (Brad, et al), I'd like to offer the following: - Sharp Mobilon handheld HC-4600 - Casio E-105 - Socket Communications low power PCMCIA card (missing cable) I don't know if any Python CE developer will find these things useful or not (possibly to maintain backwards compatibility), but they're available for the cost of shipping. Please contact me via email if interested. Finally, I'd like to step down as administrator of the pythonce mailing list. The list is hosted by python.org. The software is Barry Warsaw's MailMan and is incredibly trivial to administer. If you aren't a CE developer and would like to contribute some minimal effort, this would be a good way to get involved. Thanks to everyone for the past few years of fun! Jeff Bauer Rubicon Research From mailings at johnnydebris.net Wed Nov 19 08:10:09 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Wed Nov 19 08:13:15 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBAD314.4040002@rubic.com> References: <3FBAD314.4040002@rubic.com> Message-ID: <3FBB6BB1.9000104@johnnydebris.net> Jeff Bauer wrote: > A couple years ago I was contacted by a Microsoft representative. > He appeared to be keen on promoting Python as a development > tool in the CE environment. Once he learned that Python was > "Open Source" I never heard from him again. > Finally, I'd like to step down as administrator of the pythonce > mailing list. The list is hosted by python.org. The software > is Barry Warsaw's MailMan and is incredibly trivial to administer. > If you aren't a CE developer and would like to contribute some > minimal effort, this would be a good way to get involved. My knowledge of MailMan isn't huge or anything, but isn't it just a matter of reviewing postings that are held back for some reason (moderator tasks)? Is there anything else to administer? If not I wouldn't mind doing it... Cheers, Guido From bkc at murkworks.com Wed Nov 19 09:49:05 2003 From: bkc at murkworks.com (Brad Clements) Date: Wed Nov 19 08:56:08 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBAD314.4040002@rubic.com> Message-ID: <3FBB3020.30679.430D1E8@localhost> On 18 Nov 2003 at 20:19, Jeff Bauer wrote: > Finally, I'd like to step down as administrator of the pythonce > mailing list. The list is hosted by python.org. The software > is Barry Warsaw's MailMan and is incredibly trivial to administer. > If you aren't a CE developer and would like to contribute some > minimal effort, this would be a good way to get involved. Jeff, Thanks for your contributions to Python on Windows CE. Will we see you on a Yopy or some other next-gen device next, or are you moving out of handheld development all together? I've been a sleeper on this list (and this subject) for the past year because I've gone back to school (and still working entrepreneur hours), added another child to the household (so now I have 3). etc. Telion showed a lot of interest but he has disappeared. Like all projects, others have appeared to fulfill their needs and contribute to the cause. I'm happy to admin the pythonce list. I think I have staying power at least in this regard. Meanwhile I'm still thinking about getting ctypes to work on the ipaq under Windows CE before I break down and install Linux on it. (and my neighbor Russ Nelson is making it difficult to resist that move). Your offer to pass on devices is very generous. I think I'm all set with with respect to Windows CE devices. (3 Velo's, 1 Nino, an HP 360LX and iPaq). Perhaps others on this list would like to break into CE development.. -Brad -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From mailings at johnnydebris.net Wed Nov 19 09:33:06 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Wed Nov 19 09:37:13 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBB3020.30679.430D1E8@localhost> References: <3FBB3020.30679.430D1E8@localhost> Message-ID: <3FBB7F22.5000101@johnnydebris.net> Brad Clements wrote: >I'm happy to admin the pythonce list. I think I have staying power at least in this regard. > > From bkc at murkworks.com Wed Nov 19 10:33:09 2003 From: bkc at murkworks.com (Brad Clements) Date: Wed Nov 19 09:40:48 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBB7F22.5000101@johnnydebris.net> References: <3FBB3020.30679.430D1E8@localhost> Message-ID: <3FBB3A74.25208.4592A09@localhost> On 19 Nov 2003 at 15:33, Guido Wesdorp wrote: > Brad Clements wrote: > > >I'm happy to admin the pythonce list. I think I have staying power at least in this regard. > > > > > > No need, really. There's more than enough work to go around and it'd be great for you to be the list moderator. I read your offer after I posted mine. So your post came first, you should too. -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From mike at pcblokes.com Wed Nov 19 09:48:21 2003 From: mike at pcblokes.com (Voidspace) Date: Wed Nov 19 09:53:06 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBB3A74.25208.4592A09@localhost> References: <3FBB3020.30679.430D1E8@localhost> <3FBB3A74.25208.4592A09@localhost> Message-ID: <3FBB82B5.8000104@pcblokes.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031119/1706df1d/attachment.html From mailings at johnnydebris.net Wed Nov 19 10:07:06 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Wed Nov 19 10:12:16 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBB3A74.25208.4592A09@localhost> References: <3FBB3020.30679.430D1E8@localhost> <3FBB3A74.25208.4592A09@localhost> Message-ID: <3FBB871A.4030404@johnnydebris.net> Brad Clements wrote: >No need, really. There's more than enough work to go around and it'd be great for you >to be the list moderator. I read your offer after I posted mine. > >So your post came first, you should too. > > Whatever you want, I'm currently the maintainer of a new Epoz (sourceforge.net/projects/epoz) list (which should have been taken in use a couple of days ago to avoid having to wait hours before SF decides to actually send the postings) and it doesn't seem like much work to me (not that I'm allergic to work but I have way too much already ;). I like the CE Python dist (purely as a hobby, I just bought the cheapest iPaq there is and now I'm just hacking away for CE if I get bored of Linux ;) and would like to contribute, but the C stuff goes a bit over my head ;) so if you don't feel like doing this I would be happy to do it... Cheers, Guido From bkc at murkworks.com Wed Nov 19 11:07:59 2003 From: bkc at murkworks.com (Brad Clements) Date: Wed Nov 19 10:15:26 2003 Subject: [PythonCE] final closure In-Reply-To: <3FBB871A.4030404@johnnydebris.net> References: <3FBB3A74.25208.4592A09@localhost> Message-ID: <3FBB429E.8389.4791078@localhost> On 19 Nov 2003 at 16:07, Guido Wesdorp wrote: > my head ;) so if you don't feel like doing this I would be happy to do it... Consider it yours then, if Jeff approves. ;-) -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From goodey27 at juno.com Wed Nov 19 19:38:46 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Wed Nov 19 19:42:35 2003 Subject: [PythonCE] Working with Files Message-ID: <20031119.194132.1284.0.goodey27@juno.com> mailings@johnnydebris.net wrote: > If you check the errno module (which > contains > a mapping from errorcode to some more or less readable error name) > you'll find that error 0 isn't available, The reason is becuse Error 0 returns "No Error when I run os.strerror(0) on the desktop. Another thing that seems wiered to me is that on the desktop if I try to open a file that isn't there, I get IOError: [Errno 2] No such file or directory: '\\text.txt' While on the CE I get Invalid mode: r In version 2.2 I used to get the same Error like on the desktop. Therfore it seems that something changed in ver. 2.3 Isr ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From chronowarper at netscape.net Thu Nov 20 14:32:32 2003 From: chronowarper at netscape.net (Jeffrey Nix) Date: Thu Nov 20 14:32:43 2003 Subject: [PythonCE] The os module Message-ID: <4CBE7CB6.0AB60768.6D297EDE@netscape.net> The os module is ment to encapsulate the functions of other modules and provide a single cross-platform implementation. To provide platform level functions such as getcwd, chdir, listdir, etc. the os module imports a platform specific module on WinCE it is the ce module, on POSIX platforms it uses posix, on nt platforms (Windows) it uses the nt module, on os2 it uses os2, on MacOS it uses mac, and on riscos it uses riscos. It also imports a specific module as 'os.path' (I'm not going to list them you can look in os). On ce os.path is actually the module ntpath. Also it defines some specific functions derived the platform specific module it imports these are makedirs, removedirs, renames, walk, and others. You could implement getcwd and chdir very easily in python in the os module. From my understanding WinCE has no concept of cwd so it would be pointless to implement them in C (since you can't get the real thing why spend all that effort make a simulation of it in C when you can quickly do it in Python?) Anyway make sure that whatever modifications you make that they are platform independent (ie your getcwd and chdir are only used on ce) and maybe you could get them incorporated into the next os release. Also os is made for all platforms PythonCE uses the same version of os as every other platform, it's differences are the result of the platform dependent modules it imports. __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From chessman at tux.org Fri Nov 21 17:09:31 2003 From: chessman at tux.org (Samuel S Chessman) Date: Fri Nov 21 17:09:36 2003 Subject: [PythonCE] re: final closure Message-ID: Jeff, Thanks for all your handheld efforts, quite a story! I would like to speak up for the Casio E-105. I did the python 2.2 for the MIPS, and would find it useful to have a Vr4121 to port to and test on. I did the testing with a Vr4122 E-125. It's time to get Python 2.3 on the MIPS, and I can do that. -- Sam Chessman chessman (a) tux.org First do what's necessary, then what's possible, finally the impossible. From jbauer at rubic.com Fri Nov 21 17:57:28 2003 From: jbauer at rubic.com (Jeff Bauer) Date: Fri Nov 21 17:59:49 2003 Subject: [PythonCE] re: final closure In-Reply-To: References: Message-ID: <3FBE9858.5040601@rubic.com> Folks, we have a winner. Samuel, please email me privately with your contact info. The Sharp Mobilon 4600 is still unspoken for ... -Jeff Samuel S Chessman wrote: >Jeff, > Thanks for all your handheld efforts, quite a story! > >I would like to speak up for the Casio E-105. I did the python 2.2 >for the MIPS, and would find it useful to have a Vr4121 to port to >and test on. I did the testing with a Vr4122 E-125. > >It's time to get Python 2.3 on the MIPS, and I can do that. > > > From chronowarper at netscape.net Tue Nov 25 10:16:33 2003 From: chronowarper at netscape.net (Jeffrey Nix) Date: Tue Nov 25 10:16:48 2003 Subject: [PythonCE] pcceshell Message-ID: <45A9EAAC.2DFD505D.6D297EDE@netscape.net> Hello! I have been looking at this list for the past couple of months and now I'm finally contributing. Anyway I have hacked pcceshell and made multiple improvements. A quick rundown of some of my improvements.. 1) modified the threading implementation to use threading instead of thread 2) RunCode is now a Thread class 3) I made it into a package for easier (in my opinion at least) browsing and editing 4) support for a Python startup script (it loads the file PYTHONSTARTUP.py if it is on the path) 5) I changed it so that instead of everything being written into the __builtin__ module it now correctly writes it into __main__ 6) internal compiler now supports __future__ statements 7) any others I added before I started documenting my changes... Some interesting properties of my modified pcceshell... 1) It is possible to have multiple copies of the interpreter running and from analysis of __main__ and shell variables I have good reason to believe that they truly are seperate instances (just like opening two terminals/consoles and running python in both of them) 2) scripts passed as "command line" arguments on startup now recognize themselves as __main__ (I forget if this was an intensional fix on my part or a consequence of makeing the shell use __main__ instead of __builtin__) If you're interested e-mail me and I'll send you a copy (sorry it's the only distribution method I have). __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From bryan at flyingiranch.com Tue Nov 25 11:41:30 2003 From: bryan at flyingiranch.com (bryan@flyingiranch.com) Date: Tue Nov 25 10:37:00 2003 Subject: [PythonCE] pcceshell Message-ID: a) I would definitely like a copy of this; b) I could host a distribution for download if needed / desired Bryan > -----Original Message----- > From: chronowarper [mailto:chronowarper@netscape.net] > Sent: Tuesday, November 25, 2003 7:17 AM > To: pythonce > Subject: [PythonCE] pcceshell > > > Hello! > I have been looking at this list for the past couple of > months and now I'm finally contributing. Anyway I have hacked > pcceshell and made multiple improvements. A quick rundown of > some of my improvements.. > 1) modified the threading implementation to use threading > instead of thread > 2) RunCode is now a Thread class > 3) I made it into a package for easier (in my opinion at > least) browsing and editing > 4) support for a Python startup script (it loads the file > PYTHONSTARTUP.py if it is on the path) > 5) I changed it so that instead of everything being written > into the __builtin__ module it now correctly writes it into __main__ > 6) internal compiler now supports __future__ statements > 7) any others I added before I started documenting my changes... > > Some interesting properties of my modified pcceshell... > 1) It is possible to have multiple copies of the interpreter > running and from analysis of __main__ and shell variables I > have good reason to believe that they truly are seperate > instances (just like opening two terminals/consoles and > running python in both of them) > 2) scripts passed as "command line" arguments on startup now > recognize themselves as __main__ (I forget if this was an > intensional fix on my part or a consequence of makeing the > shell use __main__ instead of __builtin__) > > If you're interested e-mail me and I'll send you a copy > (sorry it's the only distribution method I have). > > > __________________________________________________________________ > McAfee VirusScan Online from the Netscape Network. > Comprehensive protection for your entire computer. Get your > free trial today! > http://channels.netscape.com/ns/computing/mcafee/index.jsp?pro mo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 _______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce From mike at pcblokes.com Tue Nov 25 10:41:21 2003 From: mike at pcblokes.com (Voidspace) Date: Tue Nov 25 10:41:28 2003 Subject: [PythonCE] pcceshell In-Reply-To: References: Message-ID: <3FC37821.4080708@pcblokes.com> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonce/attachments/20031125/e70032d5/attachment.html From mailings at johnnydebris.net Tue Nov 25 11:16:24 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Tue Nov 25 11:21:21 2003 Subject: [PythonCE] pcceshell In-Reply-To: References: Message-ID: <3FC38058.3090309@johnnydebris.net> bryan@flyingiranch.com wrote: >b) I could host a distribution for download if needed / desired > > > With me being a new moderator and all and having plenty of webspace to share I think I'm the one that should do the free hosting here ;) So if anyone has something for the list to share larger than 20 kB (the list's maximum message size), send it to me and I'll drop it on some URL. Already did so for the pcceshell.zip file, since I'm one of the moderators and Jeffrey tried to post it I had it in my mailbox, it's on http://www.johnnydebris.net/pcceshell.zip now (assuming this is indeed the newest version, Jeffrey, did you make any modifications after your first attempt to post it?) so if you're interested you can download it there. Cheers, Guido From bkc at murkworks.com Tue Nov 25 13:54:28 2003 From: bkc at murkworks.com (Brad Clements) Date: Tue Nov 25 13:01:39 2003 Subject: [PythonCE] pcceshell In-Reply-To: <3FC38058.3090309@johnnydebris.net> References: Message-ID: <3FC35286.31507.23F7B792@localhost> On 25 Nov 2003 at 17:16, Guido Wesdorp wrote: > With me being a new moderator and all and having plenty of webspace to > share I think I'm the one that should do the free hosting here ;) So if > anyone has something for the list to share larger than 20 kB (the list's > maximum message size), send it to me and I'll drop it on some URL. > Already did so for the pcceshell.zip file, since I'm one of the > moderators and Jeffrey tried to post it I had it in my mailbox, it's on > http://www.johnnydebris.net/pcceshell.zip now (assuming this is indeed > the newest version, Jeffrey, did you make any modifications after your > first attempt to post it?) so if you're interested you can download it > there. Can you put this on the Python CE Wiki please? -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements From mailings at johnnydebris.net Tue Nov 25 13:09:38 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Tue Nov 25 13:13:39 2003 Subject: [PythonCE] pcceshell In-Reply-To: <3FC35286.31507.23F7B792@localhost> References: <3FC35286.31507.23F7B792@localhost> Message-ID: <3FC39AE2.30506@johnnydebris.net> Brad Clements wrote: >Can you put this on the Python CE Wiki please? > > By 'this', do you mean the piece about sending stuff to me and me placing it on some server? If so, sure, where do you want me to put it? Cheers, Guido From goodey27 at juno.com Wed Nov 26 18:42:41 2003 From: goodey27 at juno.com (goodey27@juno.com) Date: Wed Nov 26 18:44:29 2003 Subject: [PythonCE] (no subject) Message-ID: <20031126.184242.1792.0.goodey27@juno.com> 1) I just want to say. It would be a good idea to have 1 pcceshell.py script. So that any one that wants to update it, should add to that one. This way we wouldn't lose what one person added in order to implement what someone else is adding. For example Telion had added a lot of different functionality that only part of it I see implemented in Jeffrey's new Package. Just to name one thing: the option to clear the screen with 'ALT+L'. 2) I tryed seeing the about on file menu. I get a traceback that global name 'AboutBoxDlgProc' is not defined. Isr Gish ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! From mailings at johnnydebris.net Thu Nov 27 11:26:26 2003 From: mailings at johnnydebris.net (Guido Wesdorp) Date: Thu Nov 27 11:30:36 2003 Subject: [PythonCE] (no subject) In-Reply-To: <20031126.184242.1792.0.goodey27@juno.com> References: <20031126.184242.1792.0.goodey27@juno.com> Message-ID: <3FC625B2.2050808@johnnydebris.net> goodey27@juno.com wrote: >1) I just want to say. It would be a good idea to have 1 pcceshell.py >script. So that any one that wants to update it, should add to that one. > > Isn't there some CVS repository people can use? Cheers, Guido From stiqs at rapidnet.com Fri Nov 28 10:01:26 2003 From: stiqs at rapidnet.com (Pritchard Musonda) Date: Fri Nov 28 10:01:32 2003 Subject: [PythonCE] TypeError on execution Message-ID: <200311280801.26261.stiqs@rapidnet.com> Hi, I'm new to Python, I've spent a couple of days exploring the feature set and very impressed. That it ran on PPC was just brilliant. I stepped in and installed 2.2 and had it running in no time. I had to dig around quite a bit to get the file associations to work so clicking on a .py file behaved as expected. Unfotunately, I haven't gotten even the infamous "Hola Mundo" to work right when the file is clicked. It luanches the interpreter fine and then spits out a trace. I've dug around the archives on here and tried some of the suggested fixes to no end. I've reinstalled a couple of times, but same results. Heres a typical trace: Traceback (most recent calls last) File "\Program Files\Python\lib\pcceshell.py" line 545, in File "\Temp\first.py", line 1 in ? Traceback (most recent calls last) File "\Program Files\Python\lib\pcceshell.py" line 406 in OnParentUser TpeError: argument 1 must be string without null bytes, not str I could of course haxor pcceshell and find out what the hell is going on eventually, but I need a quick anwer. I'm running 2.3 in ppc2002 on an Ipaq 5455 and have the registry keys correct. I also downloaded the "modularized" pcceshell, but didn't find info on how to encorporate it in 2.3. Any pointers in that would be appreciated. Pritchard -- "Unix is not an OS. Its a way of life!" SCJP, LPIC 1, SCSA Unix Systems Administrator RapidNet 2727 N Plaza Drive Rapid City, SD 57702 605 719 3518 Direct 605 355 1886 Page From sbrown at skyesystems.com Sun Nov 30 07:57:24 2003 From: sbrown at skyesystems.com (Stephen Brown) Date: Sun Nov 30 07:54:35 2003 Subject: [PythonCE] Version 2.3 For HPC 2000 Message-ID: <3FC9E934.5090204@skyesystems.com> Has anyone compiled version 2.3 for the HPC 2000? IF so, would you mind either posting it somewhere or emailing it to me? Regards,