Sending a JavaScript array to Python script?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • placid

    #1

    Sending a JavaScript array to Python script?

    Hi All,

    Just wondering if there is any way of sending a JavaScript array to a
    Python cgi script? A quick Google search didn't turn up anything
    useful.

    Any help appreciated.

    Cheers

  • Gregor Horvath

    #2
    Re: Sending a JavaScript array to Python script?

    placid schrieb:
    Just wondering if there is any way of sending a JavaScript array to a
    Python cgi script? A quick Google search didn't turn up anything
    useful.



    Gregor

    Comment

    • Simon Brunning

      #3
      Re: Sending a JavaScript array to Python script?

      On 17 May 2007 05:34:55 -0700, placid <Bulkan@gmail.c omwrote:
      Just wondering if there is any way of sending a JavaScript array to a
      Python cgi script? A quick Google search didn't turn up anything
      useful.
      JSON might be worth a look: http://www.json.org/

      --
      Cheers,
      Simon B.
      simon@brunningo nline.net

      GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues

      Comment

      • Daniel Nogradi

        #4
        Re: Sending a JavaScript array to Python script?

        Just wondering if there is any way of sending a JavaScript array to a
        Python cgi script? A quick Google search didn't turn up anything
        useful.

        Simplejson is what you want: http://cheeseshop.python.org/pypi/simplejson

        HTH,
        Daniel

        Comment

        • MC

          #5
          Re: Sending a JavaScript array to Python script?

          Hi!

          Which context?

          I know to do interact Python <=Jscript, with Internet-Explorer+COM ;
          but I don't know with others environment.




          --
          @-salutations

          Michel Claveau


          Comment

          • Bruno Desthuilliers

            #6
            Re: Sending a JavaScript array to Python script?

            placid a écrit :
            Hi All,
            >
            Just wondering if there is any way of sending a JavaScript array to a
            Python cgi script? A quick Google search didn't turn up anything
            useful.
            Look for "json".

            Comment

            Working...