ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using Python and AppleScript Together
Subject:   Better way to call Python from Applescript?
Date:   2007-05-11 08:20:35
From:   msocias
Hi,


In the first page you mention that:


"So remember, this is one option to execute complex commands via the command line with Python, but it's generally a bad idea as there are better ways to use Python to solve your problems."


But then you go on describing how you can call Applescript from Python. Are there any better ways to call Python from Applescript than the one you mentioned (i.e., via "do shell script "python ... ?


Thanks,


..m


1 to 1 of 1
  1. Noah Gift photo Better way to call Python from Applescript?
    2007-05-11 10:07:34  Noah Gift | O'Reilly AuthorO'Reilly Blogger [View]

    • Better way to call Python from Applescript?
      2007-05-13 17:47:43  msocias [View]

1 to 1 of 1