Jupyter Notebook Modes

Jupyter Notebook Modes

There are two modes in Jupyter. These are edit mode and command mode. If the cell has a green border, that means you’re in edit mode. If the cell has a blue border, then you’re in command mode. Edit mode is for all the actions you would usually perform in the context of the cell. When you are editing and typing your code and text, this is edit mode.…

How To Install Jupyter Notebook In Virtualenv

python jupyter notebook

Jupyter Notebook is a Python environment to help you explore and analyze data using Python. It is an expressive platform that helps you to communicate ideas with code and graphs. Jupyter combines live code and textual explanations along with data visualizations to make documents come alive. In this tutorial, we’ll take a look at getting started with Jupyter Notebook. We’ll install Jupyter notebook in a virtualenv which we learned about recently.…

Python Web Scraping With Beautiful Soup

Python Web Scraping With Beautiful Soup

Web scraping is a common technique used to fetch data from the internet for different types of applications. With the almost limitless data available online, software developers have created many tools to make it possible to compile information efficiently. During the process of web scraping, a computer program sends a request to a website on the internet. An Html document is sent back as a response to the program’s request.…

Python XML Parsing

Python XML Parsing

In this tutorial, we’ll see some examples of using Python to parse XML or Extensible Markup Language. XML is kind of like a more flexible version of HTML. It is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. There are a couple of different ways XML is parsed by computers. The first is known as the Simple API for XML, also known as SAX.…

Python JSON Tutorial

Python JSON Tutorial

Working with data is the whole point of using Python as a programming language. JSON is perhaps the most common data format, and we’ll take a look at working with JSON using Python now. Python can handle processing JSON from a collection of possible data sources like files, Web APIs, or third party modules that output JSON. Python has a built-in module for JSON processing which is part of the Python standard library.…

Python Requests Library

Python Requests Library

The prior tutorial covered some ways to access web services in Python using the urllib module which is part of the Python standard library. In this tutorial, we’ll take a look at the Python Requests library, which is a more powerful and user-friendly alternative to urllib. Python Requests simplifies and improves on the built-in urllib modules. Python Requests is a full-featured library with more features than we can cover here, but we’ll look at the most important ones to know about.…

Python Urllib

python urllib

Python has modules included in the standard library that make working with internet data easy. The urllib package is one such module. This package can be used to fetch data from the internet, and perform common processing tasks. Inside of urllib is the request module. This module is for reading online URLs. An error module is available for dealing with errors that may come up. The parse module facilitates the parsing of URL structures.…