Re: [Pythonmac-SIG] Python OCR on the Mac?

2005-10-20 Thread Bob Ippolito
On Oct 20, 2005, at 5:55 PM, Paul Berkowitz wrote: > On 10/20/05 5:08 PM, "Bill Janssen" <[EMAIL PROTECTED]> wrote: > > >> Hi. I'm looking for a way of doing OCR from Python on a Mac, >> preferably without paying for anything in particular. >> >> In Windows, if you have Office installed, there's

Re: [Pythonmac-SIG] Python OCR on the Mac?

2005-10-20 Thread Paul Berkowitz
On 10/20/05 5:08 PM, "Bill Janssen" <[EMAIL PROTECTED]> wrote: > Hi. I'm looking for a way of doing OCR from Python on a Mac, > preferably without paying for anything in particular. > > In Windows, if you have Office installed, there's an included ActiveX > OCR component you can access nicely fr

[Pythonmac-SIG] Python OCR on the Mac?

2005-10-20 Thread Bill Janssen
Hi. I'm looking for a way of doing OCR from Python on a Mac, preferably without paying for anything in particular. In Windows, if you have Office installed, there's an included ActiveX OCR component you can access nicely from Python to OCR page images. I'm wondering if I can do something similar

Re: [Pythonmac-SIG] packagemanager for Tiger

2005-10-20 Thread Chris Barker
Jack Nutting wrote: > Your best bet is to first of all get the packages you can from Bob's > site (http://pythonmac.org/packages/), and get used to using the > command-line to install anything else you need. And when you do, make a package out of it, and contribute it to Bob's site, so it'll be e

Re: [Pythonmac-SIG] packagemanager for Tiger

2005-10-20 Thread Henning.Ramm
> Yes, I've installed SDL and Numeric using Fink, I've installed PyObjC > and trying to install pygame in the Terminal. If you use Fink, you must use Fink for everything; at the moment you've probably several different Python installations of whose none has all required modules. It's normall

Re: [Pythonmac-SIG] packagemanager for Tiger

2005-10-20 Thread thor
hi againSorry, I should have made it clear that I am trying to install PyGame.Is Pygame working on Tiger? Is sdl-ttf a dependency? I can't installthat as the server seems to be down, but the rest of the sdl libs areinstalled now.> Your best bet is to first of all get the packages you can from Bob's

Re: [Pythonmac-SIG] packagemanager for Tiger

2005-10-20 Thread Jack Nutting
On 10/20/05, thor <[EMAIL PROTECTED]> wrote: > I need to install Pygame and PyOpenGL on Tiger. I used to use the > PackageManager > from MacPython to install all the dependencies but when I went to > check MacPython > now, there is no installer for Tiger. Can I just use the Panther > installer safe

[Pythonmac-SIG] packagemanager for Tiger

2005-10-20 Thread thor
hi there I need to install Pygame and PyOpenGL on Tiger. I used to use the PackageManager from MacPython to install all the dependencies but when I went to check MacPython now, there is no installer for Tiger. Can I just use the Panther installer safely then? Or is there a newer/better ve

[Pythonmac-SIG] Fund raising for SPE on Mac Os X is great success!!

2005-10-20 Thread SPE Stani's Python Editor
Hi, I'd like to thank everyone who contributed, especially Richard Brown from Dartware and Rick Thomas. I'm highly impressed that the smallest user base of SPE collected the largest donation ever to SPE. Now it's my turn to impress the SPE Mac users. As such the light is green for SPE

Re: [Pythonmac-SIG] Adding a track to an iTunes playlist (appscript)

2005-10-20 Thread has
David wrote: >>>You need something like: >>> >>>a_track = app('Itunes').playlists['Library'].tracks[0] >>>a_playlist = app('Itunes').playlists['Whatever'] >>>app('Itunes').duplicate(a_track, to=a_playlist) >>> >> >> >>Yup. Or: >> >>a_track = app('Itunes').playlists['Library'].tracks[0] >>a_playlis

Re: [Pythonmac-SIG] Adding a track to an iTunes playlist (appscript)

2005-10-20 Thread has
Alastair Rankine wrote: >On 20/10/2005, at 6:26 PM, David wrote: > > > app('Itunes').sources['Library'].playlists['Library'].duplicate > > ( a_track, to=a_playlist ) > > > > and many variations of it. But all I get is an error saying "Too > > many direct arguments". > > > > Can anyone spot what I

Re: [Pythonmac-SIG] Adding a track to an iTunes playlist (appscript)

2005-10-20 Thread Alastair Rankine
On 20/10/2005, at 6:26 PM, David wrote:app('Itunes').sources['Library'].playlists['Library'].duplicate( a_track, to=a_playlist )and many variations of it. But all I get is an error saying "Too many direct arguments".Can anyone spot what I'm doing wrong?Yep, duplicate is a method of the application

[Pythonmac-SIG] Adding a track to an iTunes playlist (appscript)

2005-10-20 Thread David
I'm trying to translate the following  applescript into python:tell application "iTunes"    tell source "Library"        tell playlist "Library"            ** a bunch of code for selecting a_track and a_playlist            duplicate a_track to a_playlist        end tell    end tellend tellWhat I've