Re: [Pythonmac-SIG] Automize a droplet

2009-11-09 Thread Jerry LeVan
On Nov 9, 2009, at 6:00 AM, pythonmac-sig-requ...@python.org wrote: On 11/7/09 7:39 PM, the Shelter wrote: Hi all, I wanna control/ trigger the process of a file being handed over to a droplet- is this doable? I haven't even found a way to do this in AppleTalk or on the command line yet

[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
Snow Leopard seems to have severely broken my WxPython Postgresql database browser tool... two or three queries and the app locks up or dies. I have been trying to 'spiff up' its parent, a Tkinter based browser, which still works except that I appear to have lost PIL, Image and Image-Tk som

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

2009-09-16 Thread Jerry LeVan
On Sep 16, 2009, at 4:38 PM, William Kyngesburye wrote: I used this without any problems: export PATH="/usr/local/pgsql/bin:$PATH" export ARCHFLAGS="-arch i386" python setup.py build Compilation is correctly using gcc-4.2 and the 10.6 sdk. This is with the system python. Did you install P

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

2009-09-16 Thread Jerry LeVan
Hi I have the community version of Python 2.6.2 installed on my MacBook Pro running 10.6.1. I am trying to build psycopg2 ( 2.0.12) on my mac and am no having much luck... [mbp:~/python/psycopg2-2.0.12]$ python setup.py build running build running build_py running build_ext building 'psycopg2.

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

2007-06-25 Thread Jerry LeVan
Hi, This weekend I got a MBP and started to transition to the Intel from PPC. I use the "Build Applet" tool to make lightweight apps that I can launch from the Dock. Some of my apps use environmental variables to simplify the environment setup. On the PPC G4 the applets would pick up the

[Pythonmac-SIG] wxPython problem...

2007-04-23 Thread Jerry LeVan
Hi, I am running latest OSX 10.4.9, Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) and wxPython2.8-osx-unicode-2.8.3.0-universal10.4-py2.5.dmg. When I try help(wx) I get: >>> help(wx) Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Ve

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
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 apple's 8.4.0. I am trying to port some of my tcl stuff to python ( MacPython 2.4.3). I am using tkinter for the gui. It appears that tkinter.so is linked to the tk in /Syst

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

2006-08-04 Thread Jerry LeVan
> From: [EMAIL PROTECTED] > Date: August 4, 2006 2:32:08 PM EDT > To: PythonMac > Subject: [Pythonmac-SIG] ANN: ScrIDE 0.4 > > > Version 0.4, the "PyOXIDE replacement" IDE is now available - it > fixed several problems with 0.3, adds "context sensitive object > info details" (to both the rich

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://mail.python.org/mail

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

2006-07-20 Thread Jerry LeVan
Hi, I can start gui python apps by the command line $: python whatever.py or if I chmod u+x whatever.py then a simple $: whatever.py will do the job. I am running python 2.4.3 on a mac ppc box with the lastest OS version. I would like a quick way to start the app by either double-click a *

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
Hi, I am trying my hand at trying to build a simple image viewer for embedding into a larger application. The following code will display images ok on my linux box running python 2.4.2 and ActiveState Tcl/Tk 8.4.13 The same code crashes before the interface comes up on my Mac OSX 10.4.6 Aqua TclT

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
Hi, The following is from one of my tcl programs bind $ui_vars(code) { $ui_vars(code) yview scroll -5 units } bind $ui_vars(code) { $ui_vars(code) yview scroll +5 units } $ui_vars(code) is a reference to a Text object. The effect of the code is to enable wheel mouse scrollin

[Pythonmac-SIG] Launching Python Scripts?

2006-05-26 Thread Jerry LeVan
Hi, I am trying to get back into python... I am running version 2.4.3 and I generally use Komodo for my IDE. My initial line in my scripts #!/usr/bin/env python works fine from the command line or the IDE, however dragging such a script seems to choke the "PythonLauncher" If I change the init

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
Hi, I am porting one of my Tcl/Tk apps to Python and am having a bit of a problem with one detail. The structure of the app is that the main program sits in a folder and local resources live in a subFolder named Resources. I can easily pick up modules living in Resources, but I can't see how to

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
1745, in open raise IOError("cannot identify image file") IOError: cannot identify image file >>> On Oct 15, 2005, at 7:23 PM, Jerry LeVan wrote: > About a year+ ago I quit programming, currently my interest > has been stimulated again and I am trying to get back up

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

2005-10-15 Thread Jerry LeVan
About a year+ ago I quit programming, currently my interest has been stimulated again and I am trying to get back up to speed. I started out futzing around with pyscopg 2.0.4. and tried to get it to build... I quickly realized that I was in bad shape ( memory wise...). I decided to upgrade to 2.