From ambient61@utanet.at Fri Jun 2 17:01:22 2000 From: ambient61@utanet.at (Reinhard Gonzi) Date: Fri, 02 Jun 2000 18:01:22 +0200 Subject: [Pythonmac-SIG] Stand alones on the Mac Message-ID: <3937DA52.D538E6F3@utanet.at> I got the advice to post my problem with the Python Mac mailing-list. I have enclosed some extensions* Dear Python (Mac) specialist, I have developed some simulations (concerning optics diffraction) with Yorick on the Mac. Now, I would like to make a shareware for amateur astronomers concerning my simulations. Someone told me that this could be possible with Python. I need the numerical library (for the fast Fourier transforms) and a library where I can make a hardcopy from the image (which I get after transforming) in Postscript or GIF (is such one available for Python?) and maybe a library for plotting x versus y diagrams, and a library for a very simple graphical user interface. Would it be then possoble to make a stand-alone application for the Mac? Or should the end-user having installed every time Python? I found nothing abaut that topic at www.python.org and the FAQs therin. What I have found was something vague about the command freeze;but nothing in detail. And I isntalled also the Mac version of Python and also there I could not found anything about Python and stand-alones for the Mac. Because it would be impossible to make a stand-alone program with Python for the Mac, so it is not my thing to port code to Python, because I can further use Yorick (there it is also not possibility to make stand-alones). *What I should not forget to mention ist, that I will have to deal with large arrays, like 1024x1024. I know from Yorick that those arrays have a very huge memory consumption. It is said that Python calculates the Fourier transfroms with the numerical library. But what about the stand-alone interpreter:is the code then interpreted or calculated with the compiled numerical library speed? And waht about porting the program to the Windows platform. Okay, programming for Windows is immoral... Or would it be more cute to program in C or something like that from the begining? The problem would be learning some Mac toolboxes. I think this way is cumbersome and should only be gone by programers who have to live from their programming. Regards, Siegfried Gonzi From siegfried.gonzi@kfunigraz.ac.at Fri Jun 2 18:15:19 2000 From: siegfried.gonzi@kfunigraz.ac.at (Siegfried Gonzi) Date: Fri, 02 Jun 2000 19:15:19 +0200 Subject: [Pythonmac-SIG] Stand alones on the Mac Message-ID: <3937EBA7.5F01A690@utanet.at> I got the advice to post my problem with the Python Mac mailing-list. I have enclosed some extensions* Dear Python (Mac) specialist, I have developed some simulations (concerning optics diffraction) with Yorick on the Mac. Now, I would like to make a shareware for amateur astronomers concerning my simulations. Someone told me that this could be possible with Python. I need the numerical library (for the fast Fourier transforms) and a library where I can make a hardcopy from the image (which I get after transforming) in Postscript or GIF (is such one available for Python?) and maybe a library for plotting x versus y diagrams, and a library for a very simple graphical user interface. Would it be then possoble to make a stand-alone application for the Mac? Or should the end-user having installed every time Python? I found nothing abaut that topic at www.python.org and the FAQs therin. What I have found was something vague about the command freeze;but nothing in detail. And I isntalled also the Mac version of Python and also there I could not found anything about Python and stand-alones for the Mac. Because it would be impossible to make a stand-alone program with Python for the Mac, so it is not my thing to port code to Python, because I can further use Yorick (there it is also not possibility to make stand-alones). *What I should not forget to mention ist, that I will have to deal with large arrays, like 1024x1024. I know from Yorick that those arrays have a very huge memory consumption. It is said that Python calculates the Fourier transfroms with the numerical library. But what about the stand-alone interpreter:is the code then interpreted or calculated with the compiled numerical library speed? And waht about porting the program to the Windows platform. Okay, programming for Windows is immoral... Or would it be more cute to program in C or something like that from the begining? The problem would be learning some Mac toolboxes. I think this way is cumbersome and should only be gone by programers who have to live from their programming. Regards, Siegfried Gonzi From sbender@harmony-ds.com Fri Jun 2 22:06:57 2000 From: sbender@harmony-ds.com (Scott Bender) Date: Fri, 2 Jun 2000 17:06:57 -0400 Subject: [Pythonmac-SIG] Intercept stdout/stderr instead of using SIOUX? Message-ID: <00b501bfccd6$7ca02180$2c8c56cf@harmonyds.com> This is a multi-part message in MIME format. ------=_NextPart_000_00B2_01BFCCB4.F552FF20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to embed python in an application, but having the SIOUX = output window pop up is unacceptable. Anyone know of the best way to = modify the source, so that I could have my own "handler" deal with any = stdout/stderr activity. thanks, - Scott ------=_NextPart_000_00B2_01BFCCB4.F552FF20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
I'm trying to embed python in an = application, but=20 having the SIOUX output window pop up is unacceptable. Anyone know of = the best=20 way to modify the source, so that I could have my own "handler" deal = with any=20 stdout/stderr activity.
 
thanks,
- Scott
 
------=_NextPart_000_00B2_01BFCCB4.F552FF20-- From jack@oratrix.nl Fri Jun 2 23:39:24 2000 From: jack@oratrix.nl (Jack Jansen) Date: Sat, 03 Jun 2000 00:39:24 +0200 Subject: [Pythonmac-SIG] First Carbon version of MacPython checked into CVS Message-ID: <20000602223929.7A304D8397@oratrix.oratrix.nl> I've just done a flurry of checkins to the CVS repository that should allow people to build a carbonized Python. I've only tested it on MacOS9, and I think there's a funny resource I need for it to run on X, but my X machine is at so that'll have to wait. This is a rather quick-and-dirty approach, I've slashed all functionality for which wasn't immedeately clear how to solve it: - No command-. I'm not sure yet how to solve this without moving completely to the Carbon Event Manager. Any ideas are appreciated. - No time given to background processes from within the mainloop. I used to call SystemTask for this, but it is gone. Again, any ideas are welcome. Preferrably cheap ideas, calling WaitNextEvent with a 0 timeout is not something I would like to have in the interpreter mainloop (unless it has gotten very cheap). - No argc/argv processing. ProcessHighLevelEvent is gone, and I haven't yet found out what the current way is to have your AppleEvents handled. Again, tips are welcome (and always, code is even more welcome:-). - No GUSI. This means that threads, sockets and select are gone, and that the age-old Compat library is used for things like getwd() and listdir(). - Only the core toolbox modules (AE, Evt, Ctl, Dlg, Menu, Qd, Win) have been ported, and this has mainly been done quick-and-dirty. There's a design issue with the toolbox modules I'd like feedback on, the issue of backward compatibility. Since all the structure access has gone (for C programmers) there are now accessor functions for all interesting members of the Window, Menu, Dialog, etc. structures. Python has so far taken a half-hearted approach: some modules provide accessors, some provide nothing, some provide python attribute access (Win, for instance). I could code the attribute access to use the new accessor functions, which would give backward compatbility of Python source, or I could force people to use the new accessor functions. I'm tempted to do the latter as the MacOS docs will move to that too so it should be easier on newcomers, eventually. It'll also be less work in the long run (as the accessor functions are bgen-generated and the attribute access is hand-coded), but it'll mean conversion of lots of Python code in the short run. Opinions, please. A second issue is the GrafPort structure and SetPort method. In pre-carbon windows and dialogs could also be passed where GrafPorts were expected, but in Carbon this is no longer true. I could relatively easily do the conversion automatically, or I could let people convert their code to SetPort(mywindow.GetWindowPort()). A third issue is the as_XXX() methods. MacOS now has a naming convention for these: to cast an object to a less specific object you do "win = dlg.GetDialogWindow()", to cast it to a more specific object you do "dlg = Dlg.GetDialogFromWindow(win)". I think I'd like to follow this convention and do away with all the as_XXX() methods and functions, but again that will mean people have to convert their code. And finally what everyone has been waiting for: instructions on how to try this. First you have to wait for a few bits and pieces to be checked in to the main Python repository: new versions of import.c, parsetok.c, fileobject.c and a few others. Next you need to get the beta release of CodeWarrior that can generate Carbon-compatible binaries. MPTP-member have this, and apparently it was made available at WWDC too so it might be possible to find it on the Metrowerks site. Now you're all set to build Python:Mac:Build:PythonStandCarbon.prj and give it a try. Let me end with a plea: I could really use some help on this. Getting this far has already been a serious effort (for which I didn't really have the time in the first place:-), but I think that if we can get a carbonized MacPython out there quickly it may be a tremendous boost to Python's visibility in the Mac community. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++ From jack@oratrix.nl Fri Jun 2 23:47:57 2000 From: jack@oratrix.nl (Jack Jansen) Date: Sat, 03 Jun 2000 00:47:57 +0200 Subject: [Pythonmac-SIG] Stand alones on the Mac In-Reply-To: Message by Siegfried Gonzi , Fri, 02 Jun 2000 19:15:19 +0200 , <3937EBA7.5F01A690@utanet.at> Message-ID: <20000602224802.E84ADD8397@oratrix.oratrix.nl> Recently, Siegfried Gonzi said: > Would it be then possoble to make a stand-alone > application for the Mac? I'll answer this question, because it's easy, and leave the other questions to other people in the forum. Yes, with MacPython you can drop your script on BuildApplication and you get a full standalone application. This is a MacPython-specific feature: Unix and Windows users indeed have to go through this freeze process and own a C compiler and such, but on the Mac life is easy. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm From jwblist@olympus.net Sat Jun 3 00:21:12 2000 From: jwblist@olympus.net (John W Baxter) Date: Fri, 2 Jun 2000 16:21:12 -0700 Subject: [Pythonmac-SIG] First Carbon version of MacPython checked into CVS In-Reply-To: <20000602223929.7A304D8397@oratrix.oratrix.nl> References: <20000602223929.7A304D8397@oratrix.oratrix.nl> Message-ID: Thanks, Jack: good job! At 0:39 +0200 6/3/2000, Jack Jansen wrote: >- No time given to background processes from within the mainloop. I > used to call SystemTask for this, but it is gone. Again, any ideas > are welcome. Preferrably cheap ideas, calling WaitNextEvent with a 0 > timeout is not something I would like to have in the interpreter > mainloop (unless it has gotten very cheap). How about once every n times through the main loop? This will give varying performance for background tasks, but that's better than no performance, I think. (And if you go to the background, not doing this call will cause unfortunate effects.) >It'll also be less work in the long run (as the accessor >functions are bgen-generated and the attribute access is hand-coded), >but it'll mean conversion of lots of Python code in the short >run. Opinions, please. It's probably better to bite the bullet now, rather than spreading the pain over time. But then, that's easy for me to say: I don't have any affected old code. I'm not sure I agree with myself regarding the as_XXX() methods, but I probably do. >Let me end with a plea: I could really use some help on this. Getting >this far has already been a serious effort (for which I didn't really >have the time in the first place:-), but I think that if we can get a >carbonized MacPython out there quickly it may be a tremendous boost to >Python's visibility in the Mac community. Probably...the Mac person who is interested in Python is likely also to rush out and obtain beta Mac OS X this summer. (That doesn't describe me: I don't have the hardware to run it, and probably won't be buying any until the real Mac OS X is out and I decide whether to go to it or jump ship (to Linux on Intel). If the beta is really compelling (or repelling), I could decide "early.") --John (who isn't sure about several aspects of the Mac OS X user interface) -- John Baxter jwblist@olympus.net Port Ludlow, WA, USA From agw@home.com Sun Jun 4 15:56:06 2000 From: agw@home.com (Patty and Art Werschulz) Date: Sun, 04 Jun 2000 10:56:06 -0400 Subject: [Pythonmac-SIG] MacOS: problems with tkinter Message-ID: <393A6E06.FBB88BAD@home.com> Hi. I'm trying to use python on a233MHz beige Power Mac G3 running MacOS 9. I have installed Python 1.5.2c1 and Tcl/Tk 8.3.0. I am having trouble running various demos involving tkinter. A typical error traceback looks like the following: Traceback (innermost last): File "Dogbert:Applications:Programming:Python 1.5.2c1:Demo:tkinter:guido:hello.py", line 4, in ? from Tkinter import * File "Dogbert:Applications:Programming:Python 1.5.2c1:Lib:lib-tk:Tkinter.py", line 8, in ? import _tkinter # If this fails your Python may not be configured for Tk ImportError: No module named _tkinter Please note that $(PYTHON):Lib:lib-tk is in my sys.path. So how *does* one configure Mac python to work with Tk? According to http://www.python.org/topics/tkinter/trouble.html#checking: If it fails with "No module named _tkinter", your Python configuration needs to be modified to include this module (which is an extension module implemented in C). Edit Modules/Setup (read the instructions at the top, search for _tkinter, read more instructions there, and follow the instructions) and rebuild and reinstall. Make sure to enable the _tkinter module as well as the TKPATH variable definition. Since I don't have a C compiler for my Mac, this isn't an option. Suggestions? Thanks. -- Patty and Art Werschulz http://members.home.net/agw/ 207 Stoughton Avenue Cranford NJ 07016 (908) 272-1146 From jack@oratrix.nl Sun Jun 4 22:31:41 2000 From: jack@oratrix.nl (Jack Jansen) Date: Sun, 04 Jun 2000 23:31:41 +0200 Subject: [Pythonmac-SIG] MacOS: problems with tkinter In-Reply-To: Message by Patty and Art Werschulz , Sun, 04 Jun 2000 10:56:06 -0400 , <393A6E06.FBB88BAD@home.com> Message-ID: <20000604213146.6A65FD8397@oratrix.oratrix.nl> Recently, Patty and Art Werschulz said: > Hi. > > I'm trying to use python on a233MHz beige Power Mac G3 running > MacOS 9. I have installed Python 1.5.2c1 and Tcl/Tk 8.3.0. > > I am having trouble running various demos involving tkinter. Tkinter was in a very sorry state in the 1.5.2 distribution. You can try to locate _tkinter.ppc.slb in your Python folder and add the folder that it is in to your sys.path with EditPythonPrefs. But what is probably better is to grab the 1.6a2 distribution from ftp://ftp.cwi.nl/pub/jack/python/mac, it has a much better (and newer) tkinter installation. (Plus: I would like feedback on how well this version of tkinter behaves). -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm From jhrsn@pop.pitt.edu Mon Jun 5 20:43:27 2000 From: jhrsn@pop.pitt.edu (James Harrison) Date: Mon, 05 Jun 2000 15:43:27 -0400 Subject: [Pythonmac-SIG] Munging line endings Message-ID: I know I'm probably overlooking it--is there a tool in the MacPython distribution that will change unix to mac line endings in a set of Python code files, including files in nested folders? Jim Harrison Univ. of Pittsburgh From doug@sonosphere.com Mon Jun 5 20:55:46 2000 From: doug@sonosphere.com (Doug Wyatt) Date: Mon, 5 Jun 2000 15:55:46 -0400 Subject: [Pythonmac-SIG] Munging line endings In-Reply-To: References: Message-ID: At 15:43 -0400 6/5/00, James Harrison wrote: >I know I'm probably overlooking it--is there a tool in the MacPython >distribution that will change unix to mac line endings in a set of Python >code files, including files in nested folders? Not that I know of, but I wrote these functions recently ..... def Filter(file, fromStr, toStr): # do a global search/replace on a file, in place # preserve modification/creation/backup dates # caution: overwrites the file fspec = macfs.FSSpec(file) dates = fspec.GetDates() data = open(file, 'rb').read() newdata = regsub.gsub(fromStr, toStr, data) if newdata != data: print 'filtering',file f = open(file, 'wb') f.write(newdata) f.close() fspec.SetDates(dates[0], dates[1], dates[2]) return 1 return 0 # force Mac \r line endings def ToCRs(file): return Filter(file, '\n', '\r') # force Unix \n line endings def ToLFs(file): return Filter(file, '\r', '\n') I have a more elaborate function that walks a directory hierarchy, calls the above functions, and sets filetypes to TEXT based on extensions ... manipulates the locked-ness of files ... all part of a dance to use the same files on OS's 9 and X without making CVS unhappy ... you could build your own with os.path.walk or os.listdir. Doug -- Doug Wyatt doug@sonosphere.com http://www.sonosphere.com/ From owen@astro.washington.edu Mon Jun 5 21:15:43 2000 From: owen@astro.washington.edu (Russell E Owen) Date: Mon, 5 Jun 2000 13:15:43 -0700 Subject: [Pythonmac-SIG] Munging line endings In-Reply-To: References: Message-ID: Change Type and Creator (a.k.a. "ctc") will do it, at least for sets of files dragged onto it (I'm not sure about nested folders). It's free and should be available at any Mac software archive, or I can send you a copy of version 1.5 (probably outdated). It's generally a useful thing to have around (though for drag-and-drop file type changing I more often use FileTyper, which is shareware and does not do line ending conversions). -- Russell >I know I'm probably overlooking it--is there a tool in the MacPython >distribution that will change unix to mac line endings in a set of Python >code files, including files in nested folders? From chriss@dnastar.com Mon Jun 5 21:53:30 2000 From: chriss@dnastar.com (Chris) Date: Mon, 5 Jun 2000 15:53:30 -0500 Subject: [Pythonmac-SIG] Munging line endings In-Reply-To: References: Message-ID: >At 15:43 -0400 6/5/00, James Harrison wrote: >>I know I'm probably overlooking it--is there a tool in the MacPython >>distribution that will change unix to mac line endings in a set of Python >code files, including files in nested folders? There's also Hide Itoh's free (though non python-related) DropTextConverter. From jwblist@olympus.net Mon Jun 5 22:12:42 2000 From: jwblist@olympus.net (John W Baxter) Date: Mon, 5 Jun 2000 14:12:42 -0700 Subject: [Pythonmac-SIG] Munging line endings In-Reply-To: References: Message-ID: >Change Type and Creator (a.k.a. "ctc") will do it, at least for sets >of files dragged onto it (I'm not sure about nested folders). It's >free and should be available at any Mac software archive, or I can >send you a copy of version 1.5 (probably outdated). It's generally a >useful thing to have around (though for drag-and-drop file type >changing I more often use FileTyper, which is shareware and does not >do line ending conversions). > >-- Russell > >>I know I'm probably overlooking it--is there a tool in the MacPython >>distribution that will change unix to mac line endings in a set of Python >>code files, including files in nested folders? Note that "sets of files dragged onto it" equates to "files listed in the direct parameter of an "open" Apple event sent to it". And the latter is constructable in Python (but the direct manipulation can be written in Python). --John -- John Baxter jwblist@olympus.net Port Ludlow, WA, USA From owen@astro.washington.edu Mon Jun 5 23:56:27 2000 From: owen@astro.washington.edu (Russell E Owen) Date: Mon, 5 Jun 2000 15:56:27 -0700 Subject: [Pythonmac-SIG] MacPython 1.6a2 problems Message-ID: I just installed MacPython 1.6a2 to try it out, and immediately ran into a few problems: Tk is still not completely installed (though much more completely than 1.5.2). The only change required is to edit the python prefs and add: $(PYTHON):Libs:lib-tk The default memory of 8,000k isn't close for Tk. I boosted PythonInterpreter to 10,000k and have been able to run some tk demos. PythonInterpreter still appears incapable of running Tk scripts interactively. The same old problem -- as soon as you refer to Tk() you get a window and the system becomes strange. I assume this is not a problem under unix, and that one can interactively exercise and build GUI applications there? Demo:threads:Telnet.py fails. First edit it to hard-code in a host (I'm sure there's some way to enter data into sys.argv while launching a script, but I've not found it yet). The run it. It makes the connection, displays some data about the connection, displays the login prompt, and just sits there. Nothing one types does anything. Eventually the login times out and the script quits. (Demo:Sockets:Telnet.py won't run, claiming no posix module is available, but I assume that's normal.) Somehow I get the feeling that MacPython may not be the best choice for a networked GUI front end and that I should probably start relearning unix. If this is an unwarranted conclusion, I'd love to hear otherwise. -- Russell From savageb@pacbell.net Tue Jun 6 01:29:08 2000 From: savageb@pacbell.net (Bob Savage) Date: Mon, 05 Jun 2000 17:29:08 -0700 Subject: [Pythonmac-SIG] Py 1.5.2 (unix) for MOSX Message-ID: 'Lo all, Thought I would let the list know that a version of Python (v. 1.5.2) has been posted to softrak by Mr. Serge Beauchamp. http://softrak.stepwise.com/Apps/WebObjects/Softrak.woa/1/wa/displayPackage? package=962&os=20 This is the unix version with modifications to the make file for compilation under OSX-dp4. Bob From djfashena@earthlink.net Tue Jun 6 05:04:16 2000 From: djfashena@earthlink.net (David and Jessica Fashena) Date: Mon, 5 Jun 2000 23:04:16 -0500 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 Message-ID: Hello Python folks, When I try to run any of the scripts in Demo:tkinter, for example Demo:tkinter:guido:hello.py, no additional windows appear and the screen is frozen with a clock icon. To regain control, I have to do a "Force Quit" with command-option-shift-ESC (command-period doesn't work). My PATH includes $(PYTHON):Lib:lib-tk and $(PYTHON):Mac:Plugins. Mac:Plugins contains _tkinter.ppc.slb. My system is a beige 266 Mhz G3 running MacOS 8.6. thank you, dave fashena St. Louis, Missouri, USA From kantel@mpiwg-berlin.mpg.de Tue Jun 6 14:13:14 2000 From: kantel@mpiwg-berlin.mpg.de (=?iso-8859-1?Q?J=F6rg?= Kantel) Date: Tue, 6 Jun 2000 15:13:14 +0200 Subject: [Pythonmac-SIG] [ANN:] It's done Message-ID: Our preprint is out: Sven Dierig, Joerg Kantel, Henning Schmidgen: The Virtual Laboratory for Physiology A Project in Digitalising the History of Experimentalisation of Nineteenth-Century Life Sciences with an enclosed CD-ROM Berlin (Max Planck Institute for the History of Science) 2000 (= Preprint No. 140) This Preprint and the enclosed CD-ROM serve to introduce the ideas upon which the The Virtual Laboratory for Physiology (VLP) is based. The VLP is realized with the help of Frontier and Python. You can order it free of charge from the Website of the Max Planck Institute for the History of Science. After I've finished my holydays you will also found a downloadable PDF-Version (sure, without CD-ROM ;o) there. You can find this announcement on my weblog , too which I also proudly present. :o) Greetings to all J"org -- http://www.kantel.de/ # http://homepage.mac.com/jkantel/homepage.html joerg@kantel.de # jkantel@mac.com visit: http://www.rollberg.de/ - die WebSite fuer unmoegliche Nachrichten und http://DerSchockwellenreiter.editthispage.com, mein Web-Tagebuch in Manila http://www.die-herforder.de - linke Politik online - nur im Internet From owen@astro.washington.edu Tue Jun 6 16:14:19 2000 From: owen@astro.washington.edu (Russell E Owen) Date: Tue, 6 Jun 2000 08:14:19 -0700 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 In-Reply-To: References: Message-ID: Two suggestions: - increase desired and default memory in PythonInterpreter to at least 10,000 (using Get Info in the Finder). - be sure you are dragging the script onto PythonIntepreter, not Python IDE I'll be curious how stable your resulting system is. I had some nasty crashes, mostly in my text editors (Nisus or BBEdit) and odd behavior (extra files with a * at the end of them, and Nisus not being able to save) and decided to go back to 1.5.2 for now. PowerMac 7200 with MacOS 8.6. -- Russell >When I try to run any of the scripts in Demo:tkinter, for example >Demo:tkinter:guido:hello.py, no additional windows appear and the screen is >frozen with a clock icon. To regain control, I have to do a "Force Quit" >with command-option-shift-ESC (command-period doesn't work). From Cameron.Lewis@dsto.defence.gov.au Tue Jun 6 23:47:37 2000 From: Cameron.Lewis@dsto.defence.gov.au (Lewis, Cameron) Date: Wed, 7 Jun 2000 08:17:37 +0930 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 Message-ID: Hello snake people Download 1.6a2 and install. Run "test.autotest". Bombed out ongoingly... Up memory to 10MB. Run "test.autotest". Happy as Larry :-) (except 1 error and ommissions as documented). Note error in "README": "Start Python and "import test.autotest". This should not print only one error,..." Assume this should be "should print only one error". Else my one only error was exactly not good... from Tkinter import * No, no, no I will not... Edit path to include "...$(PYTHON):Lib:lib-tk..." from Tkinter import * Happy as Larry :-) Demos by Guido. "Hello World!" "Hello back to you too mister snake" Joyfully played solitare till dawn... Happy as Larry :-) Start Tkintering... Tkinter, Tkinter, Tkinter, Boom!, Tkinter, Tkinter, Bang!, Tkinter, Tkinter, Tkinter, Tkinter, Tkinter, Tkinter, Tkinter, Tkinter, Tkinter, Tkinter, Crash!, Tkinter, Tkinter, Tkinter, Tkinter, Pow!, Tkinter... Actually better than this. Ocassional Boom!, Bang!, Crash!, Pow! but pretty goodish (for alpha that "and for this once it really means that" :-) ) When Boom!, Bang!, Crash!, Pow! get message say: "Finder would like to discuss issue with regard to Life, The Universe and Everything with you" goto: Finder Finder say "This Python no longer like you very much an not want to talk to you no more!" Oh well... Make new Python and Tkinter, Tkinter, Tkinter, etc Mostly issue seem to be me not know shit of Pythons and objects ;-) but learning, learning, learning... Problem: OptionMenu Mouse click menu: menu open... Unmouse click menu: menu close... Happy as Larry :-) But sometimes... Mouse click menu: menu open... Menu close... Unmouse click menu: Menu do nothing cause already done something... Me thinks this Python get hungry tummy and chomp on mouse occassionaly... But no, TCL/TK do same mouse chomp so this not naughty snake problem. Question: Like to make buttons very much so: for b in "many things" make many, many, many buttons(callback) Note: Not real code, please not try and run. When button say "Oh joy I have been pushed" How do I know which button??? Not type well so not like many, many, many, many callback. Like one callback that say "Hello from button Larry"??? Solution not seem obvious to me (like many other things ;-) ). Thanking you for your time... Cameron -- Cameron Lewis 506 Lorimer St, Fishermens Bend Air Operations Division Victoria, Australia, 3207 Aeronautical & Maritime Research Laboratory tel: +61 3 9626 7729 Defence Science and Technology Organisation fax: +61 3 9626 7093 Department of Defence email: Cameron.Lewis@dsto.defence.gov.au > ---------- > From: Russell E Owen > Sent: Wednesday, 7 June 2000 01:14 > To: pythonmac-sig@python.org > Subject: Re: [Pythonmac-SIG] problems with Tkinter on 1.6a2 > > Two suggestions: > - increase desired and default memory in PythonInterpreter to at > least 10,000 (using Get Info in the Finder). > - be sure you are dragging the script onto PythonIntepreter, not Python > IDE > > I'll be curious how stable your resulting system is. I had some nasty > crashes, mostly in my text editors (Nisus or BBEdit) and odd behavior > (extra files with a * at the end of them, and Nisus not being able to > save) and decided to go back to 1.5.2 for now. PowerMac 7200 with > MacOS 8.6. > > -- Russell > > >When I try to run any of the scripts in Demo:tkinter, for example > >Demo:tkinter:guido:hello.py, no additional windows appear and the screen > is > >frozen with a clock icon. To regain control, I have to do a "Force Quit" > >with command-option-shift-ESC (command-period doesn't work). > > > > > From savageb@pacbell.net Wed Jun 7 06:49:32 2000 From: savageb@pacbell.net (Bob Savage) Date: Tue, 06 Jun 2000 22:49:32 -0700 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 In-Reply-To: Message-ID: on 6/6/00 3:47 PM, Lewis, Cameron wrote: > Question: > Like to make buttons very much so: > > for b in "many things" > make many, many, many buttons(callback) > > Note: Not real code, please not try and run. > When button say "Oh joy I have been pushed" > How do I know which button??? > Not type well so not like many, many, many, many callback. > Like one callback that say "Hello from button Larry"??? > Solution not seem obvious to me (like many other things ;-) ). Sounds like what you want to do is subclass Button: ################################################################# # probably won't work as I'm doing this off the # top of my head, but you get the picture from Tkinter import * class b_Button(Button): def __init__(self, r, myName): self.myName = myName Button.__init__(self, r, text=myName, command=self.introduceMyself) def introduceMyself(self): print "Hello, from button", self.myName root = Frame() root.pack() for b in ("shoes", "ships", "sealing-wax", "cabbages", "kings"): b_Button( root, b).pack() root.mainloop() From djfashena@earthlink.net Wed Jun 7 11:48:46 2000 From: djfashena@earthlink.net (David and Jessica Fashena) Date: Wed, 7 Jun 2000 05:48:46 -0500 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 (mostly solved I think) In-Reply-To: References: Message-ID: Increasing the preferred size used by the PythonInterpreter to 12 MB allows Tkinter scripts to work on my machine (Beige G3 266 MHz, MacOS 8.6, running Python 1.6a2). It's a bit irritating to have to drag scripts onto the interpreter instead of running from the IDE, but at least I can use Tkinter now. So far, no crashes... Thanks Russell ! -dave fashena >Two suggestions: >- increase desired and default memory in PythonInterpreter to at >least 10,000 (using Get Info in the Finder). >- be sure you are dragging the script onto PythonIntepreter, not Python IDE > >I'll be curious how stable your resulting system is. I had some nasty >crashes, mostly in my text editors (Nisus or BBEdit) and odd behavior >(extra files with a * at the end of them, and Nisus not being able to >save) and decided to go back to 1.5.2 for now. PowerMac 7200 with >MacOS 8.6. > >-- Russell > >>When I try to run any of the scripts in Demo:tkinter, for example >>Demo:tkinter:guido:hello.py, no additional windows appear and the screen is >>frozen with a clock icon. To regain control, I have to do a "Force Quit" >>with command-option-shift-ESC (command-period doesn't work). David and Jessica Fashena St. Louis, Missouri USA ### # # # # # # # # From jack@oratrix.nl Wed Jun 7 14:00:42 2000 From: jack@oratrix.nl (Jack Jansen) Date: Wed, 07 Jun 2000 15:00:42 +0200 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 (mostly solved I think) In-Reply-To: Message by David and Jessica Fashena , Wed, 7 Jun 2000 05:48:46 -0500 , Message-ID: <20000607130043.659D9370CF2@snelboot.oratrix.nl> > It's a bit irritating to have to drag scripts onto the > interpreter instead of running from the IDE, but at least I can use Tkinter > now. I wonder: could we add a "run with interpreter" command to the IDE, alongside "run" and "run as __main__"? This would allow Tkinter developers to use the IDE at least for editing. Run with interpreter would simply use appleevents to start the interpreter, bring to front and open the script. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm From just@letterror.com Wed Jun 7 15:30:18 2000 From: just@letterror.com (Just van Rossum) Date: Wed, 7 Jun 2000 15:30:18 +0100 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 (mostly solved I think) In-Reply-To: <20000607130043.659D9370CF2@snelboot.oratrix.nl> References: Message by David and Jessica Fashena , Wed, 7 Jun 2000 05:48:46 -0500 , Message-ID: At 3:00 PM +0200 07-06-2000, Jack Jansen wrote: >I wonder: could we add a "run with interpreter" command to the IDE, alongside >"run" and "run as __main__"? This would allow Tkinter developers to use the >IDE at least for editing. Run with interpreter would simply use >appleevents to >start the interpreter, bring to front and open the script. Which brings back memories of thinking about writing a remote debugger... It's a good suggestion, though. What would the UI for this feature work? Another option next to "run as __main__"? Just From just@letterror.com Wed Jun 7 16:11:09 2000 From: just@letterror.com (Just van Rossum) Date: Wed, 7 Jun 2000 16:11:09 +0100 Subject: [Pythonmac-SIG] problems with Tkinter on 1.6a2 (mostly solved I think) In-Reply-To: References: <20000607130043.659D9370CF2@snelboot.oratrix.nl> Message by David and Jessica Fashena , Wed, 7 Jun 2000 05:48:46 -0500 , Message-ID: I wrote: >What would the UI for this feature work? That should be "how" or "look like"... Just From savageb@pacbell.net Wed Jun 7 16:50:26 2000 From: savageb@pacbell.net (Bob Savage) Date: Wed, 07 Jun 2000 08:50:26 -0700 Subject: [Pythonmac-SIG] Tkinter - "use Interpreter" In-Reply-To: Message-ID: on 6/7/00 7:30 AM, Just van Rossum wrote: > > It's a good suggestion, though. What would the UI for this feature work? > Another option next to "run as __main__"? > I suppose that would work, could the "use interpreter" setting be saved with the file being edited (as opposed to affecting all files until shut off)? I seem to remember "run as __main__" working that way. If so this would cut down on crashes if somebody kept shutting it off to test non-TK scripts with the debugger. Bob From jack@oratrix.nl Wed Jun 7 20:49:02 2000 From: jack@oratrix.nl (Jack Jansen) Date: Wed, 07 Jun 2000 21:49:02 +0200 Subject: [Pythonmac-SIG] Tkinter - "use Interpreter" In-Reply-To: Message by Bob Savage , Wed, 07 Jun 2000 08:50:26 -0700 , Message-ID: <20000607194907.97E42D8397@oratrix.oratrix.nl> Recently, Bob Savage said: > I suppose that would work, could the "use interpreter" setting be saved with > the file being edited (as opposed to affecting all files until shut off)? I > seem to remember "run as __main__" working that way. If so this would cut > down on crashes if somebody kept shutting it off to test non-TK scripts with > the debugger. Ah yes, that triggers another idea I had: as Tkinter doesn't work from within IDE it (the IDE) should flag imports of Tkinter (perhaps optionally, through a preference). This is easily doable by prepending a folder to sys.path that contains a Tkinter module that does does nothing but put up a warning message telling the user about "run with interpreter" and the preference to disable the warning (plus the expected result of disabling that preference:-). -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm From cko@chyden.net Sat Jun 10 03:44:01 2000 From: cko@chyden.net (Charlemagne Evans) Date: Fri, 09 Jun 2000 22:44:01 -0400 Subject: [Pythonmac-SIG] installation woes References: <20000610024212.A9DBD1CF58@dinsdale.python.org> Message-ID: <3941AB70.A7EED6BA@chyden.net> Can someone point me to resources that will help me get Python to run on my 500 MHz PowerBook G3, running Mac OS 9.0.4? I've read Mr. Jansen's MacPython page, and the pages linked to it that look relevant, but cannot find the answer to my question. I downloaded Python 1.5.2 and ran the installer. Installation looked as though it went through without a hitch. However... When I run the Interpreter, I get: Python 1.5.2c1 (#56, Apr 12 1999, 14:19:52) [CW PPC w/GUSI w/MSL] Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam 'import exceptions' failed; use -v for traceback Warning! Falling back to string-based exceptions 'import site' failed; use -v for traceback >>> When I run EditPythonPrefs, I get: 'import exceptions' failed; use -v for traceback Warning! Falling back to string-based exceptions 'import site' failed; use -v for traceback Traceback (innermost last): File "flap:jack:Python:Mac:scripts:EditPythonPrefs.py", line 7, in ? ImportError: No module named Events When I run ConfigurePython, I get: 'import exceptions' failed; use -v for traceback Warning! Falling back to string-based exceptions 'import site' failed; use -v for traceback Traceback (innermost last): File "flap:jack:Python:Mac:scripts:ConfigurePython.py", line 11, in ? ImportError: No module named os Where should I turn for installation help? Thank you for taking the time to read this far. C.Evans From just@letterror.com Sat Jun 10 10:36:12 2000 From: just@letterror.com (Just van Rossum) Date: Sat, 10 Jun 2000 10:36:12 +0100 Subject: [Pythonmac-SIG] installation woes In-Reply-To: <3941AB70.A7EED6BA@chyden.net> References: <20000610024212.A9DBD1CF58@dinsdale.python.org> Message-ID: At 10:44 PM -0400 09-06-2000, Charlemagne Evans wrote: >Can someone point me to resources that will help me get Python to run on >my 500 MHz PowerBook G3, running Mac OS 9.0.4? [ problem description snipped ] Try to remove the Python 1.5.2 Preferences file from the prefs folder, and run ConfigurePython again. This should help... Just From jmartin@abs.net Sun Jun 11 03:23:52 2000 From: jmartin@abs.net (John Martin) Date: Sat, 10 Jun 2000 22:23:52 -0400 Subject: [Pythonmac-SIG] Newbie Q: ARGV Message-ID: I know this is a stupid q, but I've hit run out of thoughts. I have a script called fred.py that in DOS/Unix expects to be run by typing: % python fred.py filename How do I run this on Mac? Should I be able to just open the IDE and type: >>>fred.py filename or >>>fred filename ? Neither one works. The response I get is elipsis, to which I hit return, so my window looks like this: >>> fred.py filename ... File "", line 1 fred.py filename ^ SyntaxError: invalid syntax -->John From just@letterror.com Sun Jun 11 09:35:27 2000 From: just@letterror.com (Just van Rossum) Date: Sun, 11 Jun 2000 09:35:27 +0100 Subject: [Pythonmac-SIG] Newbie Q: ARGV In-Reply-To: Message-ID: At 10:23 PM -0400 10-06-2000, John Martin wrote: >I know this is a stupid q, but I've hit run out of thoughts. I have a >script called fred.py that in DOS/Unix expects to be run by typing: > >% python fred.py filename > >How do I run this on Mac? Should I be able to just open the IDE and type: > >>>>fred.py filename No. >or > >>>>fred filename No... >? Neither one works. That's because the Python interactive prompt is no replacement for a command line. MacOS (before MacOSX) doesn't have a command line, so you can't do this directly. However, you have a couple of options, but none work in the IDE: 1) Drop the script on PythonInterpreter, and press the option key as soon as you release the mouse button. Click the button "Set unix-style command line...". Enter your options here, without the name of the script. 2) If all argv needs is a filename (or multiple file names), you can create an applet for your script by dropping it on BuildApplet. Applets do some argv emulation: files (or folders) dropped on the applet appear in sys.argv[1:] (sys.argv[0] being the name of the script, as under unix/dos.) Just From FoulCraven@aol.com Mon Jun 12 03:51:37 2000 From: FoulCraven@aol.com (FoulCraven@aol.com) Date: Sun, 11 Jun 2000 22:51:37 EDT Subject: [Pythonmac-SIG] Python applet preventing restart/shutdown Message-ID: <6.72cf503.2675aa39@aol.com> Is there an easy way to tell a running Python applet to quit from an AppleEvent? In particular, I'd like my machine to be able to restart or shutdown without having to command-period and menu/command-q quit it. At it is now, the shutdown/restart won't happen until I manually force the applet to quit. Thanks, david From pecora@anvil.nrl.navy.mil Mon Jun 12 22:20:55 2000 From: pecora@anvil.nrl.navy.mil (Louis M. Pecora) Date: Mon, 12 Jun 2000 17:20:55 -0400 Subject: [Pythonmac-SIG] Trouble with MacFreeze and Appl.Builder Message-ID: I can't get either MacFreeze or Appl.Builder to work. I keep getting things like: Missing org.python.core Unused Ctl Unused Dlg Unused MacOS [cut long list of Unused modules or items] ... Unused time ** Missing modules: org.python.core (I actually get a traceback, too, from Appl.Builder besides the above). I looked over the Macfreeze documents and did some file searching (I see nothing in the .pdf docs), but I'm comin up with nothing. Can't find org.python.core either. Can anyone point out what's going on here? Does Macfreeze work (i.e. give you a finished, standalone application)? Thanks for any help. Cheers, Lou Pecora From just@letterror.com Tue Jun 13 08:59:11 2000 From: just@letterror.com (Just van Rossum) Date: Tue, 13 Jun 2000 08:59:11 +0100 Subject: [Pythonmac-SIG] Trouble with MacFreeze and Appl.Builder In-Reply-To: Message-ID: At 5:20 PM -0400 12-06-2000, Louis M. Pecora wrote: >I can't get either MacFreeze or Appl.Builder to work. I keep getting >things like: > >Missing org.python.core >Unused Ctl >Unused Dlg >Unused MacOS >[cut long list of Unused modules or items] >... >Unused time >** Missing modules: org.python.core > >(I actually get a traceback, too, from Appl.Builder besides the above). > >I looked over the Macfreeze documents and did some file searching >(I see nothing in the .pdf docs), but I'm comin up with nothing. Can't >find org.python.core either. org.python.core is a JPython module, but MacFreeze should know that it may miss it. >Can anyone point out what's going on here? Not without a specific traceback... >Does Macfreeze work (i.e. >give you a finished, standalone application)? Yes, absolutely. (I only use BuildApplication, but it uses the same code.) Just From jack@oratrix.nl Tue Jun 13 09:43:14 2000 From: jack@oratrix.nl (Jack Jansen) Date: Tue, 13 Jun 2000 10:43:14 +0200 Subject: [Pythonmac-SIG] Trouble with MacFreeze and Appl.Builder In-Reply-To: Message by "Louis M. Pecora" , Mon, 12 Jun 2000 17:20:55 -0400 , Message-ID: <20000613084315.5ECFA370CF2@snelboot.oratrix.nl> > ** Missing modules: org.python.core > > (I actually get a traceback, too, from Appl.Builder besides the above). > > I looked over the Macfreeze documents and did some file searching (I see > nothing in the .pdf docs), but I'm comin up with nothing. Can't find > org.python.core either. Can anyone point out what's going on here? Does > Macfreeze work (i.e. give you a finished, standalone application)? The exclude directive is what you want here. A line # macfreeze: exclude org.python.core should do the trick. The macfreeze sources have an example and a (very terse) explanation of the directives. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm From stephane.serra@wanadoo.fr Tue Jun 13 20:11:56 2000 From: stephane.serra@wanadoo.fr (Steph) Date: Tue, 13 Jun 2000 21:11:56 +0200 Subject: [Pythonmac-SIG] Re: I can't get either MacFreeze or Appl.Builder to work. References: <20000613160039.315AD1CE67@dinsdale.python.org> Message-ID: <39468777.A8786062@wanadoo.fr> Hello Louis, I got the same problem, and was unable to fix it. But wait… you can build app's with another builder called "ba" or something like that, located in folder "Mac:scripts:ba". Good luck ! Steph. From just@letterror.com Tue Jun 13 22:19:55 2000 From: just@letterror.com (Just van Rossum) Date: Tue, 13 Jun 2000 22:19:55 +0100 Subject: [Pythonmac-SIG] Re: I can't get either MacFreeze or Appl.Builder to work. In-Reply-To: <39468777.A8786062@wanadoo.fr> References: <20000613160039.315AD1CE67@dinsdale.python.org> Message-ID: At 9:11 PM +0200 13-06-2000, Steph wrote: > I got the same problem, and was unable to fix it. But wait=85 you >can build app's with another builder called "ba" or something like >that, located in folder "Mac:scripts:ba". Erm, there's no "ba" there... But there is BuildApplication.py, which is the source for the BuildApplication applet. Confused, Just From just@letterror.com Wed Jun 14 09:45:05 2000 From: just@letterror.com (Just van Rossum) Date: Wed, 14 Jun 2000 09:45:05 +0100 Subject: [Pythonmac-SIG] Re: I can't get either MacFreeze or Appl.Builder to work. In-Reply-To: <39468777.A8786062@wanadoo.fr> References: <20000613160039.315AD1CE67@dinsdale.python.org> Message-ID: At 9:11 PM +0200 13-06-2000, Steph wrote: > I got the same problem, and was unable to fix it. But wait=85 you >can build app's with another builder called "ba" or something like >that, located in folder "Mac:scripts:ba". [After a private email from Stephane] Hm, it appears 1.6a? does indeed have an applet named "ba" in that location. It seems to be a copy of "BuildApplet" under a different name. I assume this is some cruft left by Jack by mistake. Just From Scott Clausen Wed Jun 14 19:38:31 2000 From: Scott Clausen (Scott Clausen) Date: 14 Jun 2000 11:38:31 -0700 Subject: [Pythonmac-SIG] Mac Python Mail List Message-ID: <-1251139787scott_clausen@generalplastics.com> --====52575052505648495154===1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-Ascii" --====52575052505648495154===1 Content-Type: text/html; charset="US-Ascii" Content-Transfer-Encoding: quoted-printable --====52575052505648495154===1 Content-Type: application/quickmail Content-Transfer-Encoding: base64 AAABEBRNYWMgUHl0aG9uIE1haWwgTGlzdAAAAAAAAAAAAAAAAAAETUFJTAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAADVNjb3R0IENsYXVzZW4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAUU1QMy48 LTEyNTExMzk3ODdzY290dF9jbGF1c2VuQGdlbmVyYWxwbGFzdGljcy5jb20+AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAGHB5dGhvbm1hYy1zaWdAcHl0aG9uLm9yZwAAAAAAAAD/AQEBAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAtW0fNbVtHzUAAAAEAAAAAAA2AAAAAAEfAfEAAgBiAAEAegHwAAUAAAAE AAwBbQAAAAAAfAABAR4B8AAFAAAABAAJAG0AAQAAAAAAcgAAAAAHFid0Bx8SJP////8AAAAAByBK sBZ5DTgAAAAB/wEBBgUW/////wEAAAAYcHl0aG9ubWFjLXNpZ0BweXRob24ub3JneAcfEiwHHwBA AAC3sAAAAAgWiAdgBxpgCAAAAAEHENpgBx8SYAAAABgHFgAAABRNYWMgUHl0aG9uIE1haWwgTGlz dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAcgNU2NvdHQgQ2xhdXNlbid0ByBQLAcgUCwAAAABAAAAAf8BAQYDFv////oBAQAAH3Njb3R0 X2NsYXVzZW5AZ2VuZXJhbHBsYXN0aWNzLmMAQAAAUMgAAAAIAAAACAcaYAgAAAABAAAAAQcfEmAA AAAABxYBKwJvbXQgQ2xhdXNlbid0ByBQLAcgUCwAAAABAAAAAf8BAQYDFv////oBAQAAH3Njb3R0 X2NsYXVzZW5AZ2VuZXJhbHBsYXN0aWNzLmMAQAAAUMgAAAAIAAAACAcaYAgAAAABAAAAAQcfEmAA AAAABxYNU2NvdHQgQ2xhdXNlbid0ByBO9AcgTvQAAAABAAAAAf8BAQYCFv////oBAQAAH3Njb3R0 X2NsYXVzZW5AZ2VuZXJhbHBsYXN0aWNzLmMAQAAAUMgAAAAIAAAACAcaYAgAAAABAAAAAQcfEiQA AAAABxYBKwJvbXQgQ2xhdXNlbid0ByBO9AcgTvQAAAABAAAAAf8BAQYCFv////oBAQAAH3Njb3R0 X2NsYXVzZW5AZ2VuZXJhbHBsYXN0aWNzLmMAQAAAUMgAAAAIAAAACAcaYAgAAAABAAAAAQcfEiQA AAAABxYAeDAAeDAAeDAAeDBfRg== --====52575052505648495154===1-- From savageb@pacbell.net Thu Jun 15 18:13:51 2000 From: savageb@pacbell.net (Bob Savage) Date: Thu, 15 Jun 2000 10:13:51 -0700 Subject: [Pythonmac-SIG] in case people missed it: TK on MacOS-X announcement Message-ID: This was in the Dr. Dobb's Python URL: > Tk has always been a bit problematic on the Macintosh, meaning > there is no Python GUI toolkit that works entirely satisfactorily > across Windows, Unix, MacOS. Jim Ingham reported that he's > planning to begin a MacOS X port of Tk using the Quartz drawing > model: > http://www.deja.com/=dnc/getdoc.xp?AN=630305722 Obviously relevant to our little group. Bob From jwmurphy1@att.com Thu Jun 15 20:30:04 2000 From: jwmurphy1@att.com (James W. Murphy) Date: Thu, 15 Jun 2000 15:30:04 -0400 Subject: [Pythonmac-SIG] Deja.com: Re: TCL/TK on MacOS-X: Jim Ingham works at APPLE!? Message-ID: <39492EBC.543C1825@att.com> This is a multi-part message in MIME format. --------------4C95C10455CE944466E18DB4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit All: In case you weren't already aware, Jim Ingham says he plans to work on porting Tcl/Tk to MacOS-X: http://www.deja.com/=dnc/getdoc.xp?AN=630305722 -- jim m. --------------4C95C10455CE944466E18DB4 Content-Type: text/html; charset=iso-8859-1; name="getdoc.xp" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="getdoc.xp" Content-Base: "http://www.deja.com/=dnc/getdoc.xp?AN= 630305722" Content-Location: "http://www.deja.com/=dnc/getdoc.xp?AN= 630305722" = Deja.com: Re: TCL/TK on MacOS-X: Jim Ingham works at APPLE!?</titl= e> <meta name=3Dkeywords content=3D"dejanews usenet newsgroup articles searc= h query discussion"> <!-- <base href=3D"http://www.deja.com/=3Ddnc> --> </head> <style type=3D"text/css"> <!-- A.DARK2 {color: ff6600}--> <!-- A.DARK3 {color: ff3300}--> </style> <body bgcolor=3D#ffffff text=3D#000000 link=3D#0000ff vlink=3D#9966CC ali= nk=3D#cc0000> <!-- PLOC =3D dejaclassic --> <table width=3D620 cellpadding=3D0 cellspacing=3D0 border=3D0><tr> <td width=3D135></td><td width=3D14></td><td></td> </tr><tr> <td width=3D135 bgcolor=3D#6666cc valign=3Dbottom align=3Dleft><a href=3D= "http://www.deja.com/=3Ddnc/"><img src=3D"http://g.deja.com/gifs/dlogo_13= 0_b.gif" width=3D130 height=3D75 alt=3D"deja.com" border=3D0 align=3Dleft= ></a></td> <td width=3D12 bgcolor=3D#ffffff><img src=3D"http://g.deja.com/gifs/20x20= =2Egif" width=3D12 border=3D0 height=3D60 align=3Dleft></td> <td bgcolor=3D#ffffff valign=3Dtop align=3Dcenter><table cellspacing=3D0 = cellpadding=3D0 width=3D470 border=3D0><tr><td> <A HREF=3D"/jump/http://gp4.deja.com/gtc?id=3D1047100&dejahi=3D0&tm=3D961= 096759.817419&site=3Ddn.dnc&forum=3Dcomp.lang.tcl&page=3Dd.article.getdoc= &slot=3D468x60.1&cr=3D%7c%7cdn.dnc%7c%7c%7c%7c%7c%7c%7c%7c%7c468x60.1%7c%= 7c%7c%7c%7c%7c%7c"> <IMG ALIGN=3DMIDDLE HEIGHT=3D60 WIDTH=3D468 SRC=3D"http://web2.deja.com/a= ds/79/1190578079-2152.gif" ALT=3D"Time Flies When You're Having Fun" bord= er=3D1></A></td></tr><tr align=3Dcenter><td><font face=3D"geneva,arial" s= ize=3D2><A HREF=3D"/jump/http://gp4.deja.com/gtc?id=3D1047100&tm=3D961096= 759.817419&site=3Ddn.dnc&forum=3Dcomp.lang.tcl&page=3Dd.article.getdoc&sl= ot=3D468x60.1&cr=3D%7c%7cdn.dnc%7c%7c%7c%7c%7c%7c%7c%7c%7c468x60.1%7c%7c%= 7c%7c%7c%7c%7c"> Time Flies When You're Having Fun</a></font></td></tr> </table> </td> </tr><tr> <td colspan=3D4 width=3D100% bgcolor=3D#6666cc valign=3Dtop align=3Dleft>= <img src=3D"http://g.deja.com/gifs/20x20.gif" width=3D3 height=3D1><img s= rc=3D"http://g.deja.com/gifs/dmotto_b.gif" width=3D338 height=3D21 alt=3D= "Before you buy" border=3D0></td></tr> </table> <p> = = = <table width=3D600 border=3D0 cellpadding=3D0 cellspacing=3D0> <tr valign=3Dtop><td><font face=3D"geneva,arial"><font color=3D#ff6600><b= >Message 1 of 1 </b></font> <br><font face=3D"geneva,arial" color=3D#ff6600 size=3D4><b>  &= nbsp;» </b></font><font size=3D2><a href=3D"http://www.deja.com= /=3Ddnc/viewthread.xp?AN=3D630305722&search=3Dthread&recnum=3D%3cB55D4344= =2E918%25jingham@apple.com%3e%231/1&group=3Dcomp.lang.tcl&frpage=3Dgetdoc= =2Exp"><b>Return</b></a> to <b><font color=3D#ff6600>current thread</font= ></b></font> </font></td> <td align=3Dright><font face=3D"geneva,arial" size=3D-1><a href=3D"http:/= /www.deja.com/=3Ddnc/help/help_art.shtml">help</a></font></td></tr> <tr valign=3Dtop> <td><font size=3D0> <br></font> <font face=3D"geneva,arial" color=3D"#ff6600"><b>Re: TCL/TK on MacOS-X: J= im Ingham works at APPLE!?</b></font><font size=3D4> </font> <br> <table cellpadding=3D0 cellspacing=3D0 border=3D0> <tr height=3D10%> <td width=3D50><font face=3D"geneva,arial" size=3D2><b>Author:</b></font>= </td> <td width=3D20> </td> <td width=3D360><font size=3D2><b>Jim Ingham</b> = <<A HREF=3D"mailto:jingham@apple.com">jingham@apple.com</a>></font>= </td> </tr> <tr height=3D10%> <td nowrap><font face=3D"geneva,arial" size=3D2><b>Date:</b></font></td> <td width=3D20> </td> <td><font size=3D2>2000/06/02</font></td> </tr> <tr height=3D10%> <td nowrap><font face=3D"geneva,arial" size=3D2><b>Forum:</b></font></td>= <td width=3D20> </td> <td><font size=3D2>comp.lang.tcl </font> </td> </tr> </table></td> <td align=3Dright></td> </tr></table> <table width=3D600 border=3D0 cellpadding=3D0 cellspacing=3D0> <tr valign=3Dmiddle><td> <table cellpadding=3D2 cellspacing=3D3 border=3D0><tr> <td><font face=3D"geneva,arial" size=3D2 color=3D"#ff6600"> <a href=3D"http://x51.deja.com/=3Ddnc/getdoc.xp?AN=3D630305722&AH=3D1">mo= re headers</a> </td> <td><font face=3D"geneva,arial" size=3D2> <A HREF=3D"http://www.deja.com/=3Ddnc/profile.xp?author=3DJim%20Ingham%20= %3cjingham@apple.com%3e&ST=3DPS">author posting history</A> </font></td> <td><font face=3D"geneva,arial" size=3D2> </font></td></tr> </table></font></td> <td align=3Dright> <a href=3D"http://www.deja.com/=3Ddnc/post.xp?NG=3Dcomp.lang.tcl&SUB=3DRe= :%20TCL/TK%20on%20MacOS-X:%20Jim%20Ingham%20works%20at%20APPLE!%3f&REF=3D= %3cB55D4344.918%25jingham@apple.com%3e&AN=3D630305722&go=3D0011df70d42df5= f471ab2d0b973b539f82d56bc3853362fd3e5eca1344cfd98e1cffc6035bc9f003f4f40fe= 1e31a4ea42f3e3048601f40e0d1642925618b8c08"><font face=3D"geneva,arial"><b= >Post Reply</b></font></a>  <b>·</b>  <font face=3D"geneva,arial" color=3D"#999999"><b>Prev</b></font> &nb= sp;<b>·</b>  <font face=3D"geneva,arial" color=3D"#999999"><b>Next</b></font></td> </tr></table> <hr width=3D600 align=3Dleft> <pre>Hi, Maurice... > = > As I think the port of Tk to MacOS-X would be a great > news for tcl and Mac user community, so I ask the question > publicaly to Jim Ingham. > = > = > Hello Jim! > = > I just see that you have a new (?) email "<A HREF=3D"http://www= =2Edeja.com/=3Ddnc/profile.xp?author=3Djingham@apple.com&ST=3D">jingham@a= pple.com</A>" ! > = > Does it meens that you are working at Apple to port > tcl/tk on MacOS-X :-))) No: my day job for the past couple of years has been hacking on gdb - for= Cygnus and then Red Hat. As it turns out, gdb is the core debugger for MacOS X, so I am now hacking on gdb at Apple... I did get full support f= rom my managers here to continue working on Tcl/Tk while at Apple, but Tcl/Tk= support for MacOS is still my evening playtime. Apple is working hard to= incorporate AppleScript throughout MacOS X - a VERY good thing, IMHO - so= that is where most of their "scripting" level efforts are focus= ed. OTOH, being able to get my hands on debugging builds of the OS should make supporting Tk on the Mac somewhat easier :-) > = > As Darwing (the core of MacOS-X mach/BSD based) is > Opens Source by APPLE, and as MacOS-X should be > release as a public beta this summer. > Can we have some state on the future of tcl/tk > on MacOS-X? Tcl is already part of the core MacOS X distribution - the GNU compiler tools (gcc & gdb & friends) use dejagnu, which is based on Expect= , to run their test suites, so you can't really have a GNU based system without a = Tcl port (an odd irony given RMS's statements on the matter...) Wilfredo Sanchez added support to Tcl for the MacOS X dynamic linker, whi= ch is somewhat different from the standard Unix variants, and this code has made it back to the core distribution. There are some Makefile changes t= hat haven't made their way back yet. I will look at how to fix these up when= I get half a mo... But you can get Makefiles that work from the Darwin distribution. Tk for X is still a "to be done" (as, by the way, are the lates= t binaries for Tcl/Tk for MacOS 9 - oops...) Part of the reason for this is that I have been really busy - with finishing up all my duties at Red Hat, and starting here. But also realistically, I have been facing the fact that = if I continue to put effort into the MacOS 9 code, my chances of ever gettin= g a MacOS X port done are very slim. I work on X every day, not on MacOS 9, = and I want a Tk I can use there (among other things there is NO good Man page= reader; I am dying for a version of TkMan...) So, with apologies to all the MacOS 9 users who don't have snazzy new G3'= s or G4's, my intention is to turn my efforts to MacOS X. If someone else wants to take up building binaries for MacOS 9, and maintaining that code= , that would be REALLY great. I will be glad to answer questions, of cours= e. I am not going to try to keep the code base common between the MacOS 9 co= de, and the MacOS X code. There are several reasons for this. One is that a= s long as Tk relies on MacTCP for its MacOS 9 sockets code, you can't build= a carbonized version of it, so you can't work from a common code base. Another is that there are some mismatches between the QuickDraw drawing model and Tk's (look at the Arrowhead editing demo for an example) which = are trivially solved using the Quartz drawing. But this is NOT a part of Carbon, and is only available on MacOS X. Also, I want a little more freedom to experiment with a better event model than the one in the curre= nt port, which is not altogether satisfactory. And in general, the MacTk po= rt is pretty crusty in places, and it will be better to make a clean start, rather than trying to bend around all that old code to serve two fairly different masters... > = > Also is there any work which the tkGS project > (from Fr=E9d=E9ric BONNET)? I haven't looked at this much; truth to tell I have only just started to think about the MacOS X port. So I don't really know what the state of t= he TkGS stuff is. The Quartz drawing model is VERY flexible & powerful,= so we should be able to do pretty much anything that TkGS needs with little effort. But whether that is the way to go or not in the grand scale also= depends on how far along TkGS is, and whether the Ajuba folks really are planning to incorporate it or not... Hope this helps. Jim > = > = > P.S. = > I work on Macintosh with linuxppc waiting for a usable > MacOS-X with X11 serveur (or without if tk does work?) Sorry, you'll have to stay with linuxppc for a while. Tk doesn't work, a= s I said above, and I also haven't seen an X11 server yet, though I imagine s= ome enterprising company will come through with this at some point. There ar= e versions for NeXTStep floating around, so... Jim </pre> <!--these pre tags are absolutely necessary(rn)--> <hr width=3D600 align=3Dleft> <table cellpadding=3D5 cellspacing=3D0 width=3D600 border=3D0> <tr valign=3Dtop><td><font face=3D"geneva,arial" size=3D2> <A HREF=3D"http://www.deja.com/=3Ddnc/getdoc.xp?AN=3D630305722">view for = bookmarking</A><br> <A HREF=3D"http://www.deja.com/=3Ddnc/getdoc.xp?AN=3D630305722&fmt=3Dtext= ">text only</A> </font></td> <td><font face=3D"geneva,arial" size=3D2> <A HREF=3D"http://www.deja.com/=3Ddnc/maf_enter.xp?SUB=3DRe:%20TCL/TK%20o= n%20MacOS-X:%20Jim%20Ingham%20works%20at%20APPLE!%3f&AN=3D630305722&DBS=3D= &continue=3Dhttp://x51.deja.com/%3ddnc/getdoc.xp%3fAN%3d630305722">mail t= his message to a friend</A><br><font size=3D2>Sponsored by <b>Fatbrain.co= m {<font color=3D#ff6600>*</font>}</b> </font></td> <td nowrap align=3Dright> <font face=3D"geneva,arial" size=3D2><b> <a href=3D"http://www.deja.com/=3Ddnc/post.xp?NG=3Dcomp.lang.tcl&SUB=3DRe= :%20TCL/TK%20on%20MacOS-X:%20Jim%20Ingham%20works%20at%20APPLE!%3f&REF=3D= %3cB55D4344.918%25jingham@apple.com%3e&AN=3D630305722&go=3D0011df70d42df5= f471ab2d0b973b539f82d56bc3853362fd3e5eca1344cfd98e1cffc6035bc9f003f4f40fe= 1e31a4ea42f3e3048601f40e0d1642925618b8c08">post reply</a>     <font color=3D"#999999"><b><<</b> prev</font> · <font color=3D"#999999">next <b>>></b></font> </b></font></td></tr> <tr valign=3Dtop> <td colspan=3D4><font face=3D"geneva,arial" size=3D2> <a href=3D"http://www.deja.com/=3Ddnc/my/pr/forum_add.xp?group=3Dcomp.lan= g.tcl&go=3Dhttp://x51.deja.com/%3ddnc/getdoc.xp%3fAN%3d630305722">subscri= be</a> to <b><font color=3D#ff6600>comp.lang.tcl</font></b> </font></td></tr> </table> <p> <p> <table width=3D600 border=3D0 cellpadding=3D0 cellspacing=3D0><tr> <td bgcolor=3D#6666cc height=3D5 colspan=3D2><spacer type=3Dblock height=3D= 5 width=3D0></td></tr> <tr valign=3Dtop><td><font color=3D#ff6600 face=3D"geneva,arial"><b>Searc= h Again</b></font></td> <td align=3Dright> </table> <form action=3D"http://www.deja.com/=3Ddnc/dnquery.xp" method=3Dget> <input type=3Dhidden name=3D"ST" value=3D"PS"> <table width=3D600 border=3D0 cellpadding=3D0 cellspacing=3D0> <tr valign=3Dtop> <td width=3D15%> </td> <td colspan=3D3><font face=3D"geneva,arial" color=3D"#6666cc"><b>= Search Keywords</b></font><br> <input type=3D"text" name=3D"QRY" size=3D"30" value=3D""><input type=3D"s= ubmit" value=3D"Find"> <br> </td></tr> <tr valign=3Dtop> <td width=3D15%> </td> <td width=3D40%><font face=3D"geneva,arial" color=3D"#6666cc"><b>= Limit Search</b></font></td> <td rowspan=3D8 width=3D5%> </td> <td width=3D40%><font face=3D"geneva,arial" color=3D"#6666cc"><b>= Organize Results</b></font></td> </tr> <tr valign=3Dtop> <td height=3D40> </td> <td><font face=3D"geneva,arial" size=3D-2>these options help to f= urther narrow your search<p>Match </font><input type=3D"radio" name=3D"de= faultOp" value=3D"AND" checked><font face=3D"geneva,arial" size=3D-2> all= </font>  <input type=3D"radio" name=3D"defaultOp" value=3D"OR"><font= face=3D"geneva,arial" size=3D-2> any  keywords</font></td> <td><font face=3D"geneva,arial" size=3D-2>these options help to o= rganize your search results</font></td> </tr> <tr> <td valign=3Dmiddle align=3Dright height=3D30><font face=3D"genev= a,arial" size=3D-2>Archive  </font></td> <td><select name=3D"DBS" size=3D1> = <option value=3D1 >complete <option value=3D2 >standard <option value=3D3 >adult <option value=3D4 >jobs <option value=3D5 >for sale </select></td> <td valign=3Dtop rowspan=3D4><font face=3D"geneva,arial" size=3D-= 2>Results format</font><br> <select name=3D"format"> <option value=3D"delta">list <option value=3D"terse" selected>tabular <option value=3D"threaded">threaded </select> <br> <p> <font face=3D"geneva,arial" size=3D-2>Sort by</font><br> <select name=3D"showsort" size=3D1> = <option value=3D"score" >confidence <option value=3D"subject" >subject <option value=3D"newsgroup" >forum <option value=3D"author" >author <option value=3D"date" >date </select> = <br> <p> <font face=3D"geneva,arial" size=3D-2>Results per page</font><br> <select name=3D"maxhits" size=3D1> = <option value=3D"25" >25 <option value=3D"50" >50 <option value=3D"100" >100 </select></td> </tr> <tr> <td align=3Dright height=3D40><font face=3D"geneva,arial" size=3D= -2>Language  </font></td> <td><select name=3D"LNG" size=3D1> = <option value=3DALL >any <option value=3Dchinese >Chinese <option value=3Ddanish >Danish <option value=3Ddutch >Dutch <option value=3Denglish >English <option value=3Dfinnish >Finnish <option value=3Dfrench >French <option value=3Dgerman >German <option value=3Dhungarian >Hungarian <option value=3Ditalian >Italian <option value=3Djapanese >Japanese <option value=3Dkorean >Korean <option value=3Dnorwegian >Norwegian <option value=3Dportuguese >Portuguese <option value=3Dpolish >Polish <option value=3Drussian >Russian <option value=3Dspanish >Spanish <option value=3Dswedish >Swedish <option value=3Dvietnamese >Vietnamese </select></td> </tr> <tr> <td align=3Dright height=3D40><font face=3D"geneva,arial" size=3D= -2>Subject  </font></td> <td valign=3Dtop><font face=3D"geneva,arial" size=3D-2 color=3D"#= ff6600">Example</font><font face=3D"geneva,arial" size=3D-2>: FAQ or (fre= quently asked questions)</font><br> <input type=3Dtext name=3Dsubjects size=3D30 value=3D""></td>= </tr> <tr> <td align=3Dright height=3D40><font face=3D"geneva,arial" size=3D= -2>Forum  </font></td> <td valign=3Dtop><font face=3D"geneva,arial" size=3D-2 color=3D"#= ff6600">Example</font><font face=3D"geneva,arial" size=3D-2>: alt.tv.x-fi= les or *x-files*</font><br> <input type=3Dtext name=3Dgroups size=3D30 value=3D""></td> </tr> <tr> <td align=3Dright height=3D40><font face=3D"geneva,arial" size=3D= -2>Author  </font></td> <td valign=3Dtop><font face=3D"geneva,arial" size=3D-2 color=3D"#= ff6600">Example</font><font face=3D"geneva,arial" size=3D-2>: demos@deja.= com</font><br> <input type=3Dtext name=3Dauthors size=3D30 value=3D""></td> </tr> <tr> <td align=3Dright height=3D40><font face=3D"geneva,arial" size=3D= -2>Date  </font></td> <td valign=3Dtop> <table border=3D0 cellpadding=3D0 cellspacing=3D0 width=3D275= > <tr valign=3Dtop> <td><font face=3D"geneva,arial" size=3D-2 color=3D"#f= f6600">Example</font><font face=3D"geneva,arial" size=3D-2>: Apr 1 1997</= font><br> <input type=3Dtext name=3Dfromdate size=3D12 valu= e=3D""></td> <td><font face=3D"geneva,arial" size=3D-2 color=3D"#f= f6600">Example</font><font face=3D"geneva,arial" size=3D-2>: Apr 5 1997</= font><br> <input type=3Dtext name=3Dtodate size=3D12 value=3D= ""></td> </tr> <tr> <td><font face=3D"geneva,arial" size=3D-2>from</font>= </td> <td><font face=3D"geneva,arial" size=3D-2>to</font></= td> </tr> </table> </td> </tr> </table> </form> <table width=3D100% border=3D0 cellspacing=3D0 cellpadding=3D6><tr align=3D= center> <td bgcolor=3D#000000 colspan=3D2> <font face=3D"geneva,arial" size=3D2>  <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D105= 36"><b><font color=3D#ffffff>Arts & Entertainment</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D100= 95"><b><font color=3D#ffffff>Automotive</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D101= 21"><b><font color=3D#ffffff>Computing</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D101= 22"><b><font color=3D#ffffff>Consumer Electronics</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D120= 59"><b><font color=3D#ffffff>Health & Fitness</font></b></a>  <br>  <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D104= 24"><b><font color=3D#ffffff>Home & Family</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D106= 57"><b><font color=3D#ffffff>Lifestyles</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D100= 03"><b><font color=3D#ffffff>Money</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D103= 67"><b><font color=3D#ffffff>Politics & Media</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D104= 07"><b><font color=3D#ffffff>Recreation</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D104= 44"><b><font color=3D#ffffff>Sports</font></b></a>   <a href=3D"http://www.deja.com/=3Ddnc/channels/channel.xp?CID=3D105= 26"><b><font color=3D#ffffff>Travel</font></b></a>  </font></td> </tr><!--LAND-O-LINKS--><tr align=3Dleft> = <td> <table width=3D"100%" bgcolor=3D"#ffffff" cellpadding=3D10 cellspacing=3D= 0 border=3D0><tr> <td colspan=3D2><center><font face=3D"geneva,arial" size=3D1> = = = = = = = = = = = = = = = = = = <nobr><a href=3D""></a></nobr> - <nobr><a href=3D"/jump/http://gp4.dej= a.com/gtc?id=3D1040375&dejahi=3D0&tm=3D961096760.032225&site=3Ddn.dnc&for= um=3Dcomp.lang.tcl&keyword=3D&page=3Dd.article.getdoc&slot=3Dsitewide.1&n= ode=3D&cr=3D%7c%7cdn.dnc%7c%7c%7c%7c%7c%7c%7c%7cd.%7csitewide.1%7c%7c%7c%= 7c%7c%7c%7c">Free Stuff @ FreeShop</a></nobr> - <nobr><a href=3D"/jump/ht= tp://gp4.deja.com/gtc?id=3D1040374&dejahi=3D0&tm=3D961096760.032225&site=3D= dn.dnc&forum=3Dcomp.lang.tcl&keyword=3D&page=3Dd.article.getdoc&slot=3Dsi= tewide.1&node=3D&cr=3D%7c%7cdn.dnc%7c%7c%7c%7c%7c%7c%7c%7cd.%7csitewide.1= %7c%7c%7c%7c%7c%7c%7c">Search for Jobs! JobOptions</a></nobr> </font></center> </td> </tr><tr> <td> <P> <FONT face=3D"geneva,arial" size=3D1> <a href=3D"http://www.deja.com/=3Ddnc/info/policy.shtml#copyright">Copyri= ght</a> © 1995-2000 <a href=3D"http://www.deja.com/=3Ddnc/corp/">Dej= a.com, Inc.</a> All rights reserved. <br><a href=3D"http://www.deja.com/=3Ddnc/info/trademarks.shtml">Trademar= ks</a> · <a href=3D"http://www.deja.com/=3Ddnc/info/policy.shtml">Te= rms & Conditions of Use</a> · <a href=3D"http://www.deja.com/=3D= dnc/info/privacy.shtml">Site Privacy Statement</a>.</FONT> </td> <td align=3Dright valign=3Dbottom nowrap> <font face=3D"geneva,arial" size=3D2><b> <A href=3D"http://www.deja.com/=3Ddnc/corp/ad.shtml">Advertise With Us!</= A>  |  = <a href=3D"http://www.deja.com/=3Ddnc/corp/">About Deja.com</a>  |&n= bsp; <a href=3D"http://www.deja.com/=3Ddnc/corp/hire.shtml">We're Hiring</a> </b></font> </td> </tr></table> </td></tr></table> </body> </html> --------------4C95C10455CE944466E18DB4-- From jmassung@magpiesystems.com Fri Jun 16 16:05:16 2000 From: jmassung@magpiesystems.com (Jeff Massung) Date: Fri, 16 Jun 2000 09:05:16 -0600 Subject: [Pythonmac-SIG] Hooks for MPW Message-ID: <000501bfd7a4$483e15e0$390110ac@Programmer1.magpie> On the MPW web site it said that hooks had been made to run Python from inside the MPW shell... if this is true, I would love it - indead of IDLE, an someone point me in the proper direction? Also, if I need to code it myself, any examples would be great ;) Thanks, Jeff -- Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts... - (John) Calvin Coolidge (1872-1933), 30th US President From owen@astro.washington.edu Fri Jun 16 16:38:56 2000 From: owen@astro.washington.edu (Russell E Owen) Date: Fri, 16 Jun 2000 08:38:56 -0700 Subject: [Pythonmac-SIG] Using BBEdit as a python script editor Message-ID: <v04220805b56ff8124444@[128.95.99.44]> I have two questions about using BBEdit as a python script editor: 1) The 1.5.2 distribution mentions a tool or BBEdit extension or something for this, but I could not find it. Does it exist and if so, does it work reliably? 2) A feature request or opinion: at present once one saves a script as an applet, it can no longer be edited. This is a shame, as I write a lot of file filters (scripts to process files in some way). It appears that the efficient way to do this is write an applet and so gain the use of argv, fileinput, etc. But it's a pain and even dangerous because I can't get to the source once it's an applet. (Dangerous because if I lose my copy of the source...). In the Perl universe, MacPerl itself presents a similar problem -- it cannot open Perl applets. But BBEdit comes to the rescue -- it can edit Perl applets! Hence one can easily debug, modify and generally tweak up scripts and only has to keep the one file around. So...is this feature do-able for Python applets? What would it require? I'd be happy to have either IDLE or BBEdit edit the scripts. I am willing to do some work on this, but at the moment I haven't a clue what's needed. Regards, -- Russell From joanca@typerware.com Fri Jun 16 19:57:41 2000 From: joanca@typerware.com (JoanCarles p Casas=?ISO-8859-1?Q?=edn?=) Date: Fri, 16 Jun 2000 20:57:41 +0200 Subject: [Pythonmac-SIG] Using BBEdit as a python script editor Message-ID: <20000616185653.D3BDF1CDED@dinsdale.python.org> At 16/6/00 17:38 Russell E Owen wrote: >I have two questions about using BBEdit as a python script editor: > >1) The 1.5.2 distribution mentions a tool or BBEdit extension or >something for this, but I could not find it. Does it exist and if so, >does it work reliably? You can find it in "Python:Mac:Contrib:BBPy" in the 1.5.1 and 1.6.a1 distributions but it stop working with BBEdit 4.5 I think... I suppose Just can give more light in a while... Have you tested the IDE ? You can use specific features in BBEdit to do something and go back to the IDE without any problem (more than some seconds). >2) A feature request (...) >But it's a pain and even >dangerous because I can't get to the source once it's an applet. >(Dangerous because if I lose my copy of the source...). I save the script and the applet in the same folder. Then, if I loose something, I loose everything ;) Bye, -> jc, tw=AE From imacman@mailandnews.com Fri Jun 16 21:12:23 2000 From: imacman@mailandnews.com (Michael Haensel) Date: Fri, 16 Jun 2000 13:12:23 -0700 Subject: [Pythonmac-SIG] How to copy files on the Mac via Python? Message-ID: <394A8A22.5537842E@mailandnews.com> I'm trying to set up a web site (using Personal Web Sharing, of all things! :). I'm going to have several rotating picture galleries, and would like to create a Python/TkInter script to assist with the creation of the HTML and assembling the pictures in the needed directories. How do I copy the .jpg file from the source directory into the web page's directory? In UNIX this wouldn't be too tricky, but with the lack of a command line on the Mac it's non-obvious. I suppose I could always just create the file manually and copy byte-by-byte, but that seems a tad inefficient. Thanks for any ideas - Michael From joanca@typerware.com Fri Jun 16 22:36:59 2000 From: joanca@typerware.com (JoanCarles p Casas=?ISO-8859-1?Q?=edn?=) Date: Fri, 16 Jun 2000 23:36:59 +0200 Subject: [Pythonmac-SIG] How to copy files on the Mac via Python? Message-ID: <20000616213606.9150A1CE69@dinsdale.python.org> At 16/6/00 22:12 Michael Haensel wrote: >I'm trying to set up a web site (using Personal Web Sharing, of all >things! :). I'm going to have several rotating picture galleries, and >would like to create a Python/TkInter script to assist with the creation >of the HTML and assembling the pictures in the needed directories. How >do I copy the .jpg file from the source directory into the web page's >directory? In UNIX this wouldn't be too tricky, but with the lack of a >command line on the Mac it's non-obvious. I suppose I could always just >create the file manually and copy byte-by-byte, but that seems a tad >inefficient. Don't know if this will solve your problem exactly, but while better ways are coming... ****** import findertools file =3D "Rusty:Desktop Folder:bono6.pdf" destdir =3D "Rusty:Desktop Folder:GRRR# 6" findertools.copy(file, destdir) ****** -> jc, tw=AE From jack@oratrix.nl Thu Jun 22 22:29:05 2000 From: jack@oratrix.nl (Jack Jansen) Date: Thu, 22 Jun 2000 23:29:05 +0200 Subject: [Pythonmac-SIG] Forwarded: "p rith": hello... Message-ID: <20000622212910.8640AE2679@oratrix.oratrix.nl> --boogadaboogadabooga Content-Type: text/plain; charset="us-ascii" Can anyone help this person? I still don't have handy references for intro documents lying around, and I don't have the time the next few days to dig them out.... Thanks, Jack --boogadaboogadabooga Content-Type: message/rfc822 From d0rky510b0i@hotmail.com Thu Jun 22 19: 47:00 2000 Return-Path: <d0rky510b0i@hotmail.com> Delivered-To: jack@oratrix.nl Received: from hera.cwi.nl (hera.cwi.nl [192.16.191.1]) by oratrix.oratrix.nl (Postfix) with ESMTP id C43A9E2673 for <jack@oratrix.nl>; Thu, 22 Jun 2000 19:46:59 +0200 (MET DST ) Received: from hotmail.com (f258.law9.hotmail.com [64.4.8.133]) by hera.cwi.nl with SMTP id TAA04567 for <jack@cwi.nl>; Thu, 22 Jun 2000 19:46:58 +0200 (MET DST) Received: (qmail 47596 invoked by uid 0); 22 Jun 2000 17:46:37 -0000 Message-ID: <20000622174637.47595.qmail@hotmail.com> Received: from 207.104.156.250 by www.hotmail.com with HTTP; Thu, 22 Jun 2000 10:46:37 PDT X-Originating-IP: [207.104.156.250] From: "p rith" <d0rky510b0i@hotmail.com> To: Jack.Jansen@cwi.nl Subject: hello... Date: Thu, 22 Jun 2000 10:46:37 MST Mime-Version: 1.0 Content-Type: text/plain; format=flowed hello.i learning to program with macpython and i cant seen to run any programs.i dont really have a clue.ive been to the python documentation site and havent found any thing for macs.can u help.thanx ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com --boogadaboogadabooga-- From rbl@hal.cwru.edu Thu Jun 22 23:54:47 2000 From: rbl@hal.cwru.edu (Robin B. Lake) Date: Thu, 22 Jun 2000 18:54:47 -0400 (EDT) Subject: [Pythonmac-SIG] Forwarded: "p rith": hello... Message-ID: <200006222254.SAA24679@hal.epbi.cwru.edu> Try this: Using a text editor such as BBEdit, create your Python program. Using either ResEdit or FileTyper, change the type of that edited file to have Type of TEXT and Creater of Pyth. You should see the edited file's icon change to have a "def" in the upper left corner and a pyramid in the lower left. Double click on the edited program's icon. The Python interpreter should open a window and start running your program. Cheers, Rob Lake > From pythonmac-sig-admin@python.org Thu Jun 22 17:26:27 2000 > Delivered-To: pythonmac-sig@python.org > To: pythonmac-sig@python.org > Cc: d0rky510b0i@hotmail.com > MIME-Version: 1.0 > Organisation: Oratrix Development, Valeriusplein 30, 1075 BJ Amsterdam, NL > Phone: +31 20 6795452(work), +31 20 6795309 (fax), +31 20 6160335(home) > Subject: [Pythonmac-SIG] Forwarded: "p rith": hello... > X-BeenThere: pythonmac-sig@python.org > X-Mailman-Version: 2.0beta3 > List-Id: SIG on Python for the Apple Macintosh <pythonmac-sig.python.org> > > --boogadaboogadabooga > Content-Type: text/plain; charset="us-ascii" > > Can anyone help this person? I still don't have handy references for > intro documents lying around, and I don't have the time the next few > days to dig them out.... > > Thanks, > Jack > --boogadaboogadabooga > Content-Type: message/rfc822 > > From d0rky510b0i@hotmail.com Thu Jun 22 19: 47:00 2000 > Return-Path: <d0rky510b0i@hotmail.com> > Delivered-To: jack@oratrix.nl > Received: from hera.cwi.nl (hera.cwi.nl [192.16.191.1]) > by oratrix.oratrix.nl (Postfix) with ESMTP id C43A9E2673 > for <jack@oratrix.nl>; Thu, 22 Jun 2000 19:46:59 +0200 (MET DST > ) > Received: from hotmail.com (f258.law9.hotmail.com [64.4.8.133]) by hera.cwi.nl > with SMTP > id TAA04567 for <jack@cwi.nl>; Thu, 22 Jun 2000 19:46:58 +0200 > (MET DST) > Received: (qmail 47596 invoked by uid 0); 22 Jun 2000 17:46:37 -0000 > Message-ID: <20000622174637.47595.qmail@hotmail.com> > Received: from 207.104.156.250 by www.hotmail.com with HTTP; > Thu, 22 Jun 2000 10:46:37 PDT > X-Originating-IP: [207.104.156.250] > From: "p rith" <d0rky510b0i@hotmail.com> > To: Jack.Jansen@cwi.nl > Subject: hello... > Date: Thu, 22 Jun 2000 10:46:37 MST > Mime-Version: 1.0 > Content-Type: text/plain; format=flowed > > hello.i learning to program with macpython and i cant seen to run any > programs.i dont really have a clue.ive been to the python documentation site > and havent found any thing for macs.can u help.thanx > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > > --boogadaboogadabooga-- > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://www.python.org/mailman/listinfo/pythonmac-sig > From savageb@pacbell.net Fri Jun 23 01:59:45 2000 From: savageb@pacbell.net (Bob Savage) Date: Thu, 22 Jun 2000 17:59:45 -0700 Subject: [Pythonmac-SIG] Re: hello... In-Reply-To: <20000622174637.47595.qmail@hotmail.com> Message-ID: <B5780491.1D52%savageb@pacbell.net> Hi, I'll be happy to help you out, but I need some more information about your situation. 1st, you say you can't get any applications to run. Does that mean the python installation? scripts that you have written? or things you got from the net? If you are having trouble with the Python development applications which version? You might want to make sure you are using 1.5.2 which is the current distribution. You can get that from the MacPython homepage (see below). Otherwise, I would need details on what you are trying to run. 2nd, as to finding information on the web about MacPython. It *is* a little confusing; you probably checked on the MacPython-SIG page, but that page doesn't include a link to the MacPython homepage. Try this: http://www.cwi.nl/~jack/macpython.html Send me some email ( bobsavage@mac.com ) with the specifics of your problem and I'll see what I can do. Bob on 6/22/00 10:46 AM, p rith wrote: > hello.i learning to program with macpython and i cant seen to run any > programs.i dont really have a clue.ive been to the python documentation site > and havent found any thing for macs.can u help.thanx > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > From jack@oratrix.nl Fri Jun 23 16:53:28 2000 From: jack@oratrix.nl (Jack Jansen) Date: Fri, 23 Jun 2000 17:53:28 +0200 Subject: [Pythonmac-SIG] CodeWarrior beta program Message-ID: <20000623155333.7E744DB4D6@oratrix.oratrix.nl> If there are people out there who want to help with the MacOSX port of MacPython and who have CodeWarrior but who didn't get the beta copy of the CodeWarrior Carbon tools (either at wwdc or through MPTP): MetroWerks have re-opened the beta program for a while. Visit http://www.metrowerks.com/go/betaX/ to get a copy. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++ From sdm7g@virginia.edu Sat Jun 24 20:00:34 2000 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Sat, 24 Jun 2000 15:00:34 -0400 (EDT) Subject: [Pythonmac-SIG] Darwin (Not Python, yet...) Message-ID: <Pine.A32.3.90.1000624142526.18059A-100000@elvis.med.Virginia.EDU> OK -- Question first and then the report: What's the state of Python on Darwin? Any one do a build yet with X11, Tkinter, ( or WxWindows or Qt or ... )? Any tips? Darwin and OSX integration: Is this close enough to make one version (with DLLs to support all of the options, for example, if you're running Darwin, you may have X11, but you don't have Carbon, etc.) Python isn't included in Apple's Scripting CVS directory, and I don't see any links in the Darwin pages at Stepwise or elsewhere. Report: I just loaded Darwin 1.0.2 binary on my 8500 Mac at work, connected to apple's CVS server, checked in and built XFree86 (overnight!) and got it running, all with only a few hitches: 1. Although the installer seems to indicate that it will install (and erase) on a partition, it actually needs a free disk with one partition -- whenever I tried it on a one-gig partition, the installation hung up on me. 2. Read the FAQs about starting DNS. ( Other than DNS, the networking came up live -- it must have used BOOTP or DHCP to get an IP address ? ) 3. There is a binary distribution of lynx available (insert URL here...) Get it so that you can read the FAQs and mailing list archives once you've installed it and don't have you Mac's browser available. 4. You probably want to get registered on Apple's publicsource web BEFORE you install, so that you can log into the CVS server -- you'll need to keep that password. 5. The product name for checking in X is "XFree86" ( I had to use the CVS Web browser interface to find this -- one of those many things lynx came in handy for. ) setenv CVSROOT :pserver:USER@anoncvs.publicsource.apple.com:/cvs/Darwin cvs login <asks password...> cvs -z3 checkout XFree86 <cd to directory> make World <on an 8500/120, go home an get some sleep!> make install <add /usr/X11R6/bin to path> startx Reading thru the mailing list archives, I see that it's going to be impossible (right now) to boot Darwin on my 6100 at home. I'm really thinking about going out and getting an IBook real soon so I can play with this. ---| Steven D. Majewski (804-982-0831) <sdm7g@Virginia.EDU> |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- "There's a new programming language called C+++. It's 50% better than C++, but every time you compile, your modem hangs up." From savageb@pacbell.net Sun Jun 25 18:49:10 2000 From: savageb@pacbell.net (Bob Savage) Date: Sun, 25 Jun 2000 10:49:10 -0700 Subject: [Pythonmac-SIG] Python Basics In-Reply-To: <20000623182849.55170.qmail@hotmail.com> Message-ID: <B57B9426.2A38%savageb@pacbell.net> on 6/23/00 11:28 AM, your friend wrote: > hi again.i cant seem to run scripts that i written.i dont have a clue what > to do to run it.im very new to programming.im just making very simple > scripts like 1+1 and stuff.its hard to find how to run srcipt for the mac on > the internet.thanx Hi. Yes, there is a shortage of information describing the differences involved in running Python on a Mac. One good place to look, though, is in the old messages of the MacPython mailing list <http://www.python.org/sigs/pythonmac-sig/>. Why don't you try this: First, open the Python 1.5.2c1 folder in the finder. There are several applications in this folder. The two main ones are PythonInterpreter, and Python IDE. PythonInterpreter is the application that is like most references on the net to using Python. Second, Launch (double-click on) the PythonInterpreter. You should get a window that looks like this: Python 1.5.2c1 (#56, Apr 12 1999, 14:19:52) [CW PPC w/GUSI w/MSL] Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> This is an interactive scripting environment, so to run the program: 1+1 all you need to do is type it in and hit enter. Third, There is an **EXCELLENT** tutorial available at: http://www.python.org/doc/current/tut/tut.html Just remember that when they talk about the Python interpreter, they are talking about having launched the PythonInterpreter application. If they talk about writing a file, and launching it on the commandline, and arguments, you can do that with the same application, but, again it is done a little differently on the Mac. Fourth, You can write a file in anything from SimpleText to ms word; just make sure you save the file in TEXT ONLY (sometimes called ASCII) format. Use the '.py' ending to the filename as they describe. To launch it drag the script that you want to run onto the PythonInterpreter icon, and let go. It works just as it would with another document that you wanted to open with a particular application on the Mac. (Fifth) However, you are liable to find that the Python IDE works better for you. It takes care of some things for you, like it includes a text file editor, but you can also have an Interpreter window open while you work on a file. This is nice for testing little snippets in the Interpreter while writing out a longer program. In fact there is even a way to run code that you select in a text file and run that immediately. *And* it can be set so that when you save the file, the finder knows that that file is to be launched with the PythonInterpreter application, so all you have to do is double-click on your file to run it. I highly recommend checking that out. Best of luck, I think you'll find learning Python to be very interesting! Bob From fgranger@altern.org Mon Jun 26 16:29:36 2000 From: fgranger@altern.org (Francois Granger) Date: Mon, 26 Jun 2000 17:29:36 +0200 Subject: [Pythonmac-SIG] Forwarded: "p rith": hello... In-Reply-To: <20000622212910.8640AE2679@oratrix.oratrix.nl> Message-ID: <B57D2512.15014%fgranger@altern.org> on 22/06/00 23:29, Jack Jansen at jack@oratrix.nl wrote: > hello.i learning to program with macpython and i cant seen to run any > programs.i dont really have a clue.ive been to the python documentation s= ite > and havent found any thing for macs.can u help.thanx Can you be a little more specific about the issue. Some description ... --=20 Fran=E7ois Granger fgranger@altern.org From maccgi@bellsouth.net Mon Jun 26 23:06:20 2000 From: maccgi@bellsouth.net (Richard Gordon) Date: Mon, 26 Jun 2000 18:06:20 -0400 Subject: [Pythonmac-SIG] Python SSH2 library? Message-ID: <v04205502b57d806a8012@[64.1.38.58]> I recently set up an ancient peecee as a web server using OpenBSD 2.7 which is pretty cool, but now I'm faced with a small problem in that I don't want to turn on normal ftp or telnet for security reasons, but have found that there is only one mac client that actually works with the SSH2 that OpenBSD uses (F-Secure's SSH2 for Mac which is $99). So I figured that it might be feasible to write a spiffy little ssh client in Python that would run on the mac if somebody has already put together a package or module that did most of the dirty work, but I can't seem to find one. Can anyone point me at what I need? It appears that SSH2 is becoming fairly widespread and I'd hate to think that Mac users are reduced to parting with a fairly large amount of $$ just to keep up. Thanks. Richard Gordon -------------------- Gordon Consulting & Design Database Design/Scripting Languages http://www.richardgordon.net From aptak1@yahoo.com Wed Jun 28 04:06:10 2000 From: aptak1@yahoo.com (Andrew Ptak) Date: Tue, 27 Jun 2000 20:06:10 -0700 (PDT) Subject: [Pythonmac-SIG] Python SSH2 library? Message-ID: <20000628030610.28252.qmail@web205.mail.yahoo.com> Hello, I can't help with a python ssh implimentation, but since you are using OpenBSD, I would have though that you would also be using openssh. I have had no problems using NiftyTelnet SSH for both ssh and scp to servers running openssh (on Linux boxes). Cheers, Andy Ptak --- pythonmac-sig-request@python.org wrote: > Send Pythonmac-SIG mailing list submissions to > pythonmac-sig@python.org > > To subscribe or unsubscribe via the World Wide Web, > visit > > http://www.python.org/mailman/listinfo/pythonmac-sig > or, via email, send a message with subject or body > 'help' to > pythonmac-sig-request@python.org > > You can reach the person managing the list at > pythonmac-sig-admin@python.org > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Pythonmac-SIG digest..." > > > Today's Topics: > > 1. Python SSH2 library? (Richard Gordon) > > ATTACHMENT part 3.1 message/rfc822 > Date: Mon, 26 Jun 2000 18:06:20 -0400 > To: Mac Python List <pythonmac-sig@python.org> > From: Richard Gordon <maccgi@bellsouth.net> > Subject: [Pythonmac-SIG] Python SSH2 library? > > I recently set up an ancient peecee as a web server > using OpenBSD 2.7 > which is pretty cool, but now I'm faced with a small > problem in that > I don't want to turn on normal ftp or telnet for > security reasons, > but have found that there is only one mac client > that actually works > with the SSH2 that OpenBSD uses (F-Secure's SSH2 for > Mac which is > $99). > > So I figured that it might be feasible to write a > spiffy little ssh > client in Python that would run on the mac if > somebody has already > put together a package or module that did most of > the dirty work, but > I can't seem to find one. Can anyone point me at > what I need? It > appears that SSH2 is becoming fairly widespread and > I'd hate to think > that Mac users are reduced to parting with a fairly > large amount of > $$ just to keep up. Thanks. > > Richard Gordon > -------------------- > Gordon Consulting & Design > Database Design/Scripting Languages > http://www.richardgordon.net > > > > __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From craig@osa.att.ne.jp Wed Jun 28 15:56:34 2000 From: craig@osa.att.ne.jp (Craig Hagerman) Date: Wed, 28 Jun 2000 23:56:34 +0900 Subject: [Pythonmac-SIG] visual python Message-ID: <200006281452.XAA13357@osa.att.ne.jp> Hello, I seem to recall some notice a few months back that work was underway on a "visual python" built with RealBasic (I think), which makes me think maybe it was Mac only (?). I don't recal the name of the product of where the web site was I read more info about. Am I imagining things or is there such a product? Any idea on the due date if so? Craig Hagerman From p.agapow@ic.ac.uk Thu Jun 29 08:58:08 2000 From: p.agapow@ic.ac.uk (Paul-Michael Agapow) Date: Thu, 29 Jun 2000 08:58:08 +0100 Subject: [Pythonmac-SIG] visual python In-Reply-To: <200006281452.XAA13357@osa.att.ne.jp> References: <200006281452.XAA13357@osa.att.ne.jp> Message-ID: <a04310102b580b19a2ae3@[129.31.3.188]> >I seem to recall some notice a few months back that work was underway on a >"visual python" built with RealBasic (I think), which makes me think maybe >it was Mac only (?). I don't recal the name of the product of where the web >site was I read more info about. Am I imagining things or is there such a >product? Any idea on the due date if so? "Viper" was the name, I believe, and the name of the company and possibly website was "Viperware". I checked their site a while ago and they had some nice screenshots but the the thing was obviously in early stages as yet. p -- Paul-Michael Agapow (p.agapow@ic.ac.uk), Dept. Biology, Imperial College From jhrsn@pop.pitt.edu Thu Jun 29 17:08:41 2000 From: jhrsn@pop.pitt.edu (James Harrison) Date: Thu, 29 Jun 2000 12:08:41 -0400 Subject: [Pythonmac-SIG] visual python In-Reply-To: <200006281452.XAA13357@osa.att.ne.jp> Message-ID: <B580ECC8.14A8B%jhrsn@pop.pitt.edu> on 6/28/00 10:56 AM, Craig Hagerman at craig@osa.att.ne.jp wrote: > I seem to recall some notice a few months back that work was underway on a > "visual python" built with RealBasic (I think) This was a REALbasic project called "Viper." I think Justin Christie and Mark Adler were working on it and the web site was www.pinehillproducts.com. The site doesn't mention the project now and it's been a good while since I heard anything of it, so I think it's dormant. You could drop Justin a note at justin@pinehillproducts.com if you wish to follow up. Jim Harrison Univ. of Pittsburgh From lmeyn@mail.arc.nasa.gov Thu Jun 29 17:28:15 2000 From: lmeyn@mail.arc.nasa.gov (Larry Meyn) Date: Thu, 29 Jun 2000 09:28:15 -0700 Subject: [Pythonmac-SIG] Re: visual python In-Reply-To: <a04310102b580b19a2ae3@[129.31.3.188]> References: <200006281452.XAA13357@osa.att.ne.jp> <a04310102b580b19a2ae3@[129.31.3.188]> Message-ID: <p04320401b58127b7593a@[128.102.170.15]> >>I seem to recall some notice a few months back that work was underway on a >>"visual python" built with RealBasic (I think), which makes me think maybe >>it was Mac only (?). I don't recal the name of the product of where the web >>site was I read more info about. Am I imagining things or is there such a >>product? Any idea on the due date if so? > >"Viper" was the name, I believe, and the name of the company and possibly website was "Viperware". I checked their site a while ago and they had some nice screenshots but the the thing was obviously in early stages as yet. > >p > > >-- >Paul-Michael Agapow (p.agapow@ic.ac.uk), Dept. Biology, Imperial College A quick web search came up with the following: ActiveState (http://www.activeware.com/) is working on a VisualPython plug-in for Microsoft's Visual Studio 7 development environment. It's probably not Mac friendly... -- ------------------------------------------------------------------ Larry Meyn Aerospace Operations Modeling Office M/S 210-10 Phone: (650) 604-5038 NASA Ames Research Center FAX: (650) 604-0222 Moffett Field, CA 94035-1000 email: lmeyn@mail.arc.nasa.gov ------------------------------------------------------------------ From landauer@apple.com Thu Jun 29 18:17:23 2000 From: landauer@apple.com (Doug Landauer) Date: Thu, 29 Jun 2000 10:17:23 -0700 Subject: [Pythonmac-SIG] Re: [viper] visual python In-Reply-To: <a04310102b580b19a2ae3@[129.31.3.188]> References: <200006281452.XAA13357@osa.att.ne.jp> <a04310102b580b19a2ae3@[129.31.3.188]> Message-ID: <p04310115b5812f50bccc@[17.202.41.111]> >> ..."visual python" built with RealBasic ... > "Viper" was the name, I believe, and the name of the company and > possibly website was "Viperware". Ooh, one would hope not. The audio similarity to "Vaporware" is just *way* too tempting, especially for Australians. Speaking of Australians, there is a much more promising thing also called "Viper" -- John Skaller's OCaml implementation (interpreter and possibly compiler) of python. Don't know which usage came first. Looks like ftp://ftp.cs.usyd.edu.au/jskaller/ might get you to it. -- Doug From cbarker@jps.net Thu Jun 29 18:58:14 2000 From: cbarker@jps.net (Chris Barker) Date: Thu, 29 Jun 2000 10:58:14 -0700 Subject: [Pythonmac-SIG] Re: visual python References: <20000629160814.546001D29E@dinsdale.python.org> Message-ID: <395B8E36.8D612B79@jps.net> > >I seem to recall some notice a few months back that work was underway on a > >"visual python" built with RealBasic (I think), which makes me think maybe > >it was Mac only (?). I don't recal the name of the product of where the web > >site was I read more info about. Am I imagining things or is there such a > >product? Any idea on the due date if so? > > "Viper" was the name, I believe, and the name of the company and > possibly website was "Viperware". I checked their site a while ago > and they had some nice screenshots but the the thing was obviously in > early stages as yet. If is was built, it _could_ be windows also, as RealBasic can build Windows executables. I don't believe you can develop with Real Basic on Windows, however, and it doesn't work on any other platforms. Besides being "Viperware", it kind of seemed like a doomed idea. Real Basic is itself an object oriented interpretted language. Adding that overhead to Python seemed a bit odd. Also, we've looked into Real Basic, and it is extendable, but it is far more awkward to extend than Python. A far more promising project is "Boa Constructor" (http://Boa-Constructor.sourceforge.net/). It is a GUI RAD (similar to Delphi, I understand) based on (and built with) Python and wxPython. It is not yet quite usable, but it is under active development, and looks very nifty. wxPython is a set of Python wrappers around wxWindows, which is a cross-platform GUI class library, that currently works for Windows, Un*x (GTK), Un*x(Motif) and Macintosh. Other platforms are und3er development as well (OS/2, BE-OS, etc). wxPython itself is currently only completely functional for Windows and Un*x-GTK, but the developer, Robin Dunn, is working on adding the Mac to the list. I quote from his web page: """ I have been getting quite a few requests for wxPython on a Mac. I have been quite eager to fulfill this request but it has been a little difficult considering I don't have a Mac. I think that Mac support will be very strategically important for wxPython. In my mind it's one of the few roadblocks for wxPython becoming the de-facto standard GUI tool for Python. Guido himself had this to say: "This is about the only cross-platform GUI toolkit that works on the Mac besides Tk (most of the new Linux offerings are "cross-platform" meaning Unix and Windows...). Please help this guy!" UPDATE:Thanks to Sam Schulenberg I now have a Mac G4 to play with. Now I just have to find the time to play. """ You heard Guido! let's help this guy!! see (http://www.wxpython.org/) for more info. I think it's very important for Python's future as a whole, and MacPython in particular, that there continues to be good Mac support for the various cross platform Python modules. I good cross-platform GUI toolkit is critical, and tk just doesn't seem to cut it. Another bonus is that if we get a Mac wxPython, we get Boa constuctor as well! I've been using wxPython on Linux for a little bit now, and I really like it. I'm hoping and praying that we'll be able to get a Mac version going. I'm hoping to help with the effort, but I'm pretty weak on the required skills at the moment. -Chris -- Christopher Barker, Ph.D. cbarker@jps.net --- --- --- http://www.jps.net/cbarker -----@@ -----@@ -----@@ ------@@@ ------@@@ ------@@@ Water Resources Engineering ------ @ ------ @ ------ @ Coastal and Fluvial Hydrodynamics ------- --------- -------- ------------------------------------------------------------------------ ------------------------------------------------------------------------ From landauer@apple.com Thu Jun 29 19:50:13 2000 From: landauer@apple.com (Doug Landauer) Date: Thu, 29 Jun 2000 11:50:13 -0700 Subject: [Pythonmac-SIG] Re: [viper] visual python In-Reply-To: <p04310115b5812f50bccc@[17.202.41.111]> References: <200006281452.XAA13357@osa.att.ne.jp> <a04310102b580b19a2ae3@[129.31.3.188]> <p04310115b5812f50bccc@[17.202.41.111]> Message-ID: <p04310118b5814ab52d01@[17.202.41.111]> I wrote: > ... John Skaller's OCaml implementation (interpreter > and possibly compiler) of python. > ftp://ftp.cs.usyd.edu.au/jskaller/ Oops, I had forgotten that this turned in a sourceforge project, and the spelling changed (to "Vyper"). See http://Vyper.sourceforge.net/ It doesn't work on Macs yet. -- Doug From craig@osa.att.ne.jp Fri Jun 30 04:59:17 2000 From: craig@osa.att.ne.jp (Craig Hagerman) Date: Fri, 30 Jun 2000 12:59:17 +0900 Subject: [Pythonmac-SIG] Re: visual python Message-ID: <200006300355.MAA11360@osa.att.ne.jp> > This was a REALbasic project called "Viper." I think Justin Christie and > Mark Adler were working on it and the web site was www.pinehillproducts.com. > The site doesn't mention the project now and it's been a good while since I > heard anything of it, so I think it's dormant. You could drop Justin a note > at justin@pinehillproducts.com if you wish to follow up. > I did write to Pinehill products and have had a reply from Justin Christie. My question was: >Has Viper been killed or just deeply under wraps? His response: >Deeply under wraps. :-) I guess it is just wait and see. On an unrelated note I just checked out some screen shots of the Mac port of wxWindows (http://www.advanced.ch/wxwin/wxmac/screen.htm). I CAN'T WAIT until the wxPython port for the mac is ready and I can use this. It looks wonderful! Craig Hagerman From savageb@pacbell.net Fri Jun 30 07:09:54 2000 From: savageb@pacbell.net (Bob Savage) Date: Thu, 29 Jun 2000 23:09:54 -0700 Subject: [Pythonmac-SIG] Re: visual python In-Reply-To: <200006300355.MAA11360@osa.att.ne.jp> Message-ID: <B58187C1.304F%savageb@pacbell.net> on 6/29/00 8:59 PM, Craig Hagerman wrote: > I guess it is just wait and see. On an unrelated note I just checked out > some screen shots of the Mac port of wxWindows > (http://www.advanced.ch/wxwin/wxmac/screen.htm). > I CAN'T WAIT until the wxPython port for the mac is ready and I can use > this. It looks wonderful! Yes, I'm looking forward to the wxPython session at Monterey (just about one month). Bob From jhrsn@pop.pitt.edu Fri Jun 30 18:30:22 2000 From: jhrsn@pop.pitt.edu (James Harrison) Date: Fri, 30 Jun 2000 13:30:22 -0400 Subject: [Pythonmac-SIG] Re: visual python/wxPython In-Reply-To: <B58187C1.304F%savageb@pacbell.net> Message-ID: <B582516D.14DD9%jhrsn@pop.pitt.edu> on 6/30/00 2:09 AM, Bob Savage at savageb@pacbell.net wrote: > Yes, I'm looking forward to the wxPython session at Monterey (just about one > month). I corresponded with Robin Dunn last month about wxPythion for Mac. While it's true that he now has a Mac to work with, his remark at the end of May was: > Sorry but it's still just barely started. I've been having trouble finding > the time to work on it, and the Mac wxWindows port is a bit behind the times > too... > > Robin If anyone could help Robin out it would be great. I won't be able to make the meeting in Monterey, but I'd be interested to hear what is said their about the Mac port. Jim Harrison Univ. of Pittsburgh