• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: python
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python


  • Subject: Re: python
  • From: Christopher Nebel <email@hidden>
  • Date: Thu, 8 Apr 2004 13:28:21 -0700

On Apr 8, 2004, at 11:52 AM, roy whelden wrote:

Could someone give an example of a "do shell script" which uses the Python language? A "hello world" script would be fine!

set cmd to "print 'hello, world'"
do shell script "python -c " & quoted form of cmd


--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: python
      • From: Emmanuel <email@hidden>
References: 
 >python (From: roy whelden <email@hidden>)

  • Prev by Date: Re: python
  • Next by Date: Re: python
  • Previous by thread: Re: python
  • Next by thread: Re: python
  • Index(es):
    • Date
    • Thread