Skip to main content

Posts

Showing posts with the label youtube

Weather Scrapper using python

Beautiful  Soup  is  a  library  which  facilitates  the  scraping  of  information  from  web  pages.  It    sits  atop  an  HTML  or  XML  parser,  providing  Pythonic  idioms  for  parse  tree  iteration,  searching,  and  alteration. Beautiful  Soup  is  a  library  which  facilitates  the  scraping  of  information  from  web  pages.  It  sits  at  the  top  of  an  HTML  or  XML  parser,   providing  Pythonic  idioms  to  iterate,  search,  and  modify  the  parser  tree. Copy below source code: libraries required: Requests & bs4 or BeautifulSoup import requests from bs4 import BeautifulSoup search = "Weather in CALIFORNIA" url = f"https://www.google.com/search?&q={search}" req = requests.get(url) aw = BeautifulSoup(req.text, "html.parser") update = aw.find("div" ,class_="BNeawe").text #python #code #webscrapper 

The Jupyter Notebook

The Jupyter Notebook  is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more. knowledge streams blog spot dot com free knowledge blog. download free source codes for python and java and other free stuff. Try Jupyter here   Install Jupyter here Language of choice Jupyter supports over 40 programming languages, including Python, R, Julia, and Scala. Share notebooks Notebooks can be shared with others using email, Dropbox, GitHub and the  Jupyter Notebook Viewer . Interactive output Your code can produce rich, interactive output: HTML, images, videos, LaTeX, and custom MIME types. Big data integration Leverage big data tools, such as Apache Spark, from Python, R and Scala. Explore that same data with pa