omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. InAPickle

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    InAPickle

    @InAPickle

    0
    Reputation
    386
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    InAPickle Unfollow Follow

    Latest posts made by InAPickle

    • RE: What do I look for when wanting to scrape a certain thing?

      Ok, thanks a lot

      posted in Pythonista
      InAPickle
      InAPickle
    • RE: What do I look for when wanting to scrape a certain thing?

      Well there has to be someone in this community who knows how.

      posted in Pythonista
      InAPickle
      InAPickle
    • What do I look for when wanting to scrape a certain thing?
      import bs4, requests
      
      def get_beautiful_soup(url):
          return bs4.BeautifulSoup(requests.get(url).text)
      
      soup = get_beautiful_soup('http://www.weatherbug.com')
      
      print(soup.get_text())
      
      

      Ok so as of now, in the script above I have made you use weather bug to find the weather in your local area, and your area and weather should appear at the top. After looking into the buetiful soup 4 documentation, I see that you are able to extract certain information. The way it is explained on the Documentation is that you can use "for link in soup.find_all('a'):" to find all of the "<a>" 's in the website. My problem is that every location has a different name, so I can't just tell it to look for one because that won't find your location. If you know what to do please help, I will continue to do research on this.

      posted in Pythonista
      InAPickle
      InAPickle
    • Buzzer with pythonista

      Hello all, I am new to pythonista let alone Python, and I was wondering if it was possible to activate the iPhone's buzzer (Vibration).

      posted in Pythonista
      InAPickle
      InAPickle