Re: [Pythonmac-SIG] Automize a droplet

2009-11-09 Thread Jerry LeVan
e yet ... Any suggestion is highly appreciated. Cheers, S I seem to recall that "Drop Stuff" and "Playtpus" can create droplets for scripting languages. Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http:

[Pythonmac-SIG] PIL and Snow Leopard

2009-10-04 Thread Jerry LeVan
On Oct 2, 2009, at 7:40 PM, Bill Janssen wrote: Jerry LeVan wrote: Is building PIL on Snow Leopard 'easy' I have the apple python (32/64) installed and the python.org 2.6.2 (32 bit) version installed. Yes, I just build it with /usr/bin/python, and it works fine. Assumin

[Pythonmac-SIG] PIL and Snow Leopard

2009-10-04 Thread Jerry LeVan
On Oct 2, 2009, at 7:40 PM, Bill Janssen wrote: Jerry LeVan wrote: Is building PIL on Snow Leopard 'easy' I have the apple python (32/64) installed and the python.org 2.6.2 (32 bit) version installed. Yes, I just build it with /usr/bin/python, and it works fine. Assuming you

[Pythonmac-SIG] PIL and Snow Leopard

2009-10-03 Thread Jerry LeVan
From: Jerry LeVan Date: October 3, 2009 6:32:45 PM EDT To: Bill Janssen Cc: "pythonmac-sig@python.org" Subject: Re: [Pythonmac-SIG] PIL and Snow Leopard On Oct 2, 2009, at 7:40 PM, Bill Janssen wrote: Jerry LeVan wrote: Is building PIL on Snow Leopard 'easy' I h

Re: [Pythonmac-SIG] PIL and Snow Leopard

2009-10-03 Thread Jerry LeVan
On Oct 2, 2009, at 7:40 PM, Bill Janssen wrote: Jerry LeVan wrote: Is building PIL on Snow Leopard 'easy' I have the apple python (32/64) installed and the python.org 2.6.2 (32 bit) version installed. Yes, I just build it with /usr/bin/python, and it works fine. Assuming

[Pythonmac-SIG] PIL and Snow Leopard

2009-10-02 Thread Jerry LeVan
environment? Anyone else having a problem with WxPython on Snow Leopard? Thanks for any insights... Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Jerry LeVan
more tests with the python.org version. Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Jerry LeVan
gcc' failed with exit status 1 *** It looks like it is trying to build against a very old toolkit ( 10.4)... The error messages are not clear to me.. the stdarg.h file exists in the 10.4u directory and includes the 'standard' stdarg.h I have built a 32 bit i386 only version of

[Pythonmac-SIG] embed python in cocoa

2008-05-19 Thread Jerry Isdale
Georg wrote: Hello, I want wo be able to make my program scriptable with python. My program is written in ObjectC in XCode 3 (target only for MacOSX 10.5). I want to embed it and use Py_Initialize(); PyRun_SimpleString(". Can anyone give me some advice how I wrap my cocoa classes to be

Re: [Pythonmac-SIG] easygui

2007-10-05 Thread Jerry
They are each the top links on Google using the programs' names. Jerry P.S. They are both free. On Oct 5, 2007, at 11:15 AM, Rafael Bejarano wrote: > Thanks for suggesting these programs. Do you know the link from > which I can download them? > > Cordially, > Rafael

Re: [Pythonmac-SIG] easygui

2007-10-05 Thread Jerry
works with any language that can read text files.) The kinds of things that you can do is somewhat limited but it sounds like it might be enough for your application. I can't stress how easy Pashua is to use. CocoaDialog is similar but I haven't used it myself. Jerry On Oct 4, 2007

[Pythonmac-SIG] Build Applet Environ problem...

2007-06-25 Thread Jerry LeVan
ick up the environmental variables when launched from the dock. On the Intel side this does not appear to be the case. If I launch the app from the command line "open -a" the environment vars will be picked up. Is this problem somehow my fault or is this a PythonMac/I

[Pythonmac-SIG] wxPython problem...

2007-04-23 Thread Jerry LeVan
s/wx-2.8-mac-unicode/wx/_gdi.py", line 230, in Get return _gdi_.Colour_Get(*args, **kwargs) TypeError: in method 'Colour_Get', expected argument 1 of type 'wxColour *' >>> Anyone know what the problem could be? Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Tkinter Question...

2007-02-06 Thread Jerry LeVan
On Feb 6, 2007, at 6:32 PM, Kevin Walzer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry LeVan wrote: >> Hi, >> >> I have recently upgraded my Mac to ActiveTCL from Tk Aqua. It appears >> that tcl/tk 8.4.14 works much more smoothly than appl

[Pythonmac-SIG] Tkinter Question...

2007-02-06 Thread Jerry LeVan
ossible to build tkinter against a more modern tk? If so, how? (Reading the forums at ActiveState on Python seems to indicate that ActiveStates tkinter for the Mac ( I have a G4) also links against the old Apple Tk.) Thanks, Jerry ___ Pythonmac-SI

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-28 Thread Jerry
this but I think I did, recently. I have't used BBedit and TextWrangler only a little, but when I groked TextMate (and it takes a little effort to understand what makes it special) I was blown away. I'll add that while it's not free, it is very reasonable--$39 US as I recal

Re: [Pythonmac-SIG] xcode problems

2006-10-22 Thread Jerry
veloper has been rather quiet lately and I believe he has said that he is working on a major revision. The bad part is that I _think_ it is a one-person development "team" and thus has the associated problem with trucks. (That is, what if he gets hit by one.) Jerry __

Re: [Pythonmac-SIG] ScrIDE problem....

2006-08-04 Thread Jerry LeVan
No Module Named Resources.PyPgBrowse Resources is a folder in the directory containing PyPgExplorer.py. ScrIDE is the only "thing" that can't launch the app. You can download the whole app from http://homepage.mac.com/levanj/ Python Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Drag and Drop Launch of whatever.py?

2006-07-20 Thread Jerry LeVan
I used the get info dialog and set the app to PythonLauncher but it did no good( even did a change all) Any *.py file give a "Can't open *.py" error message... Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://

[Pythonmac-SIG] Drag and Drop Launch of whatever.py?

2006-07-20 Thread Jerry LeVan
opens the editor, choosing run module will sometimes "do nothing"/Complain that the app needs pythonw"/ launch a window that that can't become frontmost... Is there a way to config PythonLauncher to launch python apps? what have I screwed up Thanks, Jerry

Re: [Pythonmac-SIG] FIXED: PIL related crash?

2006-06-10 Thread Jerry LeVan
I checked the PIL directory and noticed that the dates on the PIL files looked a bit old. I went back to pythonmac.org and downloaded the PIL that was available and all is well now :) Jerry On Jun 10, 2006, at 6:55 PM, Daniel Lord wrote: > > On Jun 10, 2006, at 12:00, Jerry LeVan

Re: [Pythonmac-SIG] PIL related crash?

2006-06-10 Thread Jerry LeVan
I forgot to add: I am running on a "QuickSilver 933MHZ PPC" mac. Jerry On Jun 10, 2006, at 6:55 PM, Daniel Lord wrote: > > On Jun 10, 2006, at 12:00, Jerry LeVan wrote: > >> Hi, I am trying my hand at trying to build a simple image >> viewer for embedding into

Re: [Pythonmac-SIG] PIL related crash?

2006-06-10 Thread Jerry LeVan
Python 2.4.3... I think I got the MacPython from Python.org. The PIL software seems to be present in /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/PIL Jerry On Jun 10, 2006, at 6:55 PM, Daniel Lord wrote: > > On Jun 10, 2006, at 12:00, Jerry LeVan

Re: [Pythonmac-SIG] PIL related crash?

2006-06-10 Thread Jerry LeVan
Rats, I can't get even the simplest PIL programs to display... Here is one...(works fine on my linux box) from Tkinter import * import Image,ImageTk import sys def main(): filename = sys.argv[1] root = Tk() img = ImageTk.PhotoImage(file=filename) label = Label(root, image

[Pythonmac-SIG] PIL related crash?

2006-06-10 Thread Jerry LeVan
TclTk Batteries included 8.4.10 and python 2.4.3, it looks like it is dying deep in the imaging code. Is this a know problem? Any suggestions? Jerry * #!/usr/bin/env python from Tkinter import * import Image, ImageTk def build_scrolled_canvas(parent): canvas=Canvas

Re: [Pythonmac-SIG] How can I say...

2006-05-26 Thread Jerry LeVan
Hmmm, self.code.bind("",self.code.yview_scroll (-5 ,'units')) works on my linux box but does not appear to work on my mac... Jerry On May 26, 2006, at 6:47 PM, Jerry LeVan wrote: > Hi, > > The following is from one of my tcl programs > > bi

[Pythonmac-SIG] How can I say...

2006-05-26 Thread Jerry LeVan
scrolling (five lines per click). I can't figure out the magic words to do the same in Python ;( Can anyone help me? Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Launching Python Scripts?

2006-05-26 Thread Jerry LeVan
Is such a task possible? If I use the #!/usr/local/bin/python as the initial line is there a way to suppress the appearance of the console window? Thanks, Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailma

Re: [Pythonmac-SIG] WhereAmI ?

2006-05-24 Thread Jerry LeVan
Sigh, Nevermind, when I looked at sys.path in an actual program the first element was actually the path to the script, not '' (got '' from the command line execution of python). Jerry On May 24, 2006, at 3:39 PM, Jerry LeVan wrote: > Hi, > > I am porting one of my

[Pythonmac-SIG] WhereAmI ?

2006-05-24 Thread Jerry LeVan
here anyway I can discover the pathname of an running python script? Thanks, Jerry ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] I can't grok PIL anymore...

2005-10-15 Thread Jerry LeVan
OK, I got it figured out... I went to Pythonmac.org and downloaded the PIL thingee for Macosx10.3 Things seem to be working now... Jerry On Oct 15, 2005, at 8:11 PM, Jerry LeVan wrote: > Here is an even simpler demo of my problem... > mandrill.jpg is in the directory where >

Re: [Pythonmac-SIG] I can't grok PIL anymore...

2005-10-15 Thread Jerry LeVan
Here is an even simpler demo of my problem... mandrill.jpg is in the directory where python is invoked. Jerry [macjerry:~/python]$ pythonw Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin Type "help", "copyright", "

[Pythonmac-SIG] I can't grok PIL anymore...

2005-10-15 Thread Jerry LeVan
.pack() root.mainloop() main() Running the above with any kind of graphics file gives a dump like: Traceback (most recent call last): File "imageview.py", line 13, in ? main() File "imageview.py", line 8, in main img = ImageTk.PhotoImage(file=filename) File &qu