• InAPickle

    Ok, thanks a lot

    posted in Pythonista read more
  • InAPickle

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

    posted in Pythonista read more
  • InAPickle

    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 read more
  • InAPickle

    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 read more

Internal error.

Oops! Looks like something went wrong!