Featured Post

Scraping Website: How to Write a Script in Python

Image
Here's a python script that you can use as a model to scrape a website. Python script The below logic uses BeautifulSoup Package for web scraping. import requests from bs4 import BeautifulSoup url = 'https://www.example.com' response = requests.get(url) soup = BeautifulSoup(response.text, 'html.parser') # Print the title of the webpage print(soup.title.text) # Print all the links in the webpage for link in soup.find_all('a'):     print(link.get('href')) In this script, we first import the Requests and Beautiful Soup libraries. We then define the URL we want to scrape and use the Requests library to send a GET request to that URL. We then pass the response text to Beautiful Soup to parse the HTML contents of the webpage. We then use Beautiful Soup to extract the title of the webpage and print it to the console. We also use a for loop to find all the links in the webpage and print their href attributes to the console. This is just a basic example, but

The Amazing Points on IoT for Absolute Beginners

How things are connected in the IoT world. IT jobs are growing in this area across the world. Earlier, we discussed how the IoT refers to the interconnection of distinguishable smart/intelligent objects or "things" and their virtual manifestation within the Internet or other IP structure.

The Basics in IoT

The increased capability of processors (8-, 16- or 32-bit microcontrollers), memory (several tens of kilobytes), storage, possible nowadays to connect anything at an affordable cost.

IoT Devices

  • The devices always may not be small objects and battery operated. They may be big and are operated with electrical power too.
  • The smart objects connected to a grid, and where the control system connected to a pool of software controllers. The generated data is a huge asset, which then passed to the data analysis engine.

IP Scalability

  1. The scalability and flexibility of IP are suitable for the diverse range and a potential number of applications, and it is its well-established architecture, with existing applications for email, Voice over IP (VoIP), video streaming, and so on, that affords the protocol its robust and adaptable usage. 
  2. The IP stack has been regarded as large and perhaps cumbersome, requiring high amounts of processing power and memory.

New Generation Protocols

  • However, several lightweight revisions have emerged to accommodate smaller devices and lower energy footprints. Furthermore, the lightweight nature of the new generation IP stack has allowed itself to be used in conjunction with other protocols, such as low power Wi-Fi, ZigBee, and Bluetooth low energy. 
  • Since IP can run over almost anything, adapting the stack to run over ZigBee or Bluetooth low energy, for example, is a relatively straightforward task, as we highlight in Figure 6.3. As can be seen in the figure, a 6loWPAN adaptation layer is used cohesively to allow both ZigBee and Bluetooth low energy to coexist with the upper layers of the IP stack, namely IPv6 and User Datagram Protocol (UDP) /Transmission Control Protocol (TCP).

Comments

Popular posts from this blog

7 AWS Interview Questions asked in Infosys, TCS

How to Decode TLV Quickly