omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Google search

    Pythonista
    3
    5
    2245
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ihf
      ihf last edited by

      Basic python query: I was trying to run google search script and I am getting an error that 'function' object has no attribute 'get'. Can anyone explain what is going on?

      1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by

        I proposed a fix in the comments section of the link above.

        1 Reply Last reply Reply Quote 0
        • ihf
          ihf last edited by

          Thanks for fix. For my edification, I was trying to understand why this script ever worked (i.e., what changed?)

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            The older versions of the requests module has json as a parameter, not a function. Pythonista 1.5 brought us a more recent version.

            1 Reply Last reply Reply Quote 0
            • ihf
              ihf last edited by

              Thank you @ccc and @JonB for both the fix and the explanation.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors