• 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: Encode URLs for posting help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encode URLs for posting help


  • Subject: Re: Encode URLs for posting help
  • From: "Shane Stanley" <email@hidden>
  • Date: Fri, 1 Apr 2005 09:39:08 +1000

On Thu, 31 Mar 2005 13:01:21 +0100, has wrote:

>on encodeURL(str)
>     return do shell script ("python -c \"import sys, urllib; print
>urllib.quote(sys.argv[1]) \" " as Unicode text) & quoted form of str
>end encodeURL

So is this [1] part of the script, or a mysterious has footnote reference? ;-)

I ask because I get:

	-->	  File "<string>", line 1
    import sys, urllib; print
urllib.quote(sys.argv[1])
                              ^
SyntaxError: invalid syntax

and the ^ seems, on screen, to be pointing eerily close to the [1].

--
Shane Stanley  <email@hidden>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Encode URLs for posting help
      • From: Martin Orpen <email@hidden>
References: 
 >Re: Encode URLs for posting help (From: has <email@hidden>)

  • Prev by Date: Re: Mac vs unix Carriage returns on a text file format
  • Next by Date: Re: Encode URLs for posting help
  • Previous by thread: Re: Encode URLs for posting help
  • Next by thread: Re: Encode URLs for posting help
  • Index(es):
    • Date
    • Thread