Python Tutorial

How To Get / Set Http Headers, Cookies And Manage Sessions Use Python Requests Module

In the previous article How To Use Python Requests Module To Send Get Or Post Request Example, we have learned how to install and use the python requests module to send HTTP Get and Post request to a web server. It also tells you how to post form data or pass query string parameters use

How To Get / Set Http Headers, Cookies And Manage Sessions Use Python Requests Module Read More »

How To Use Python Requests Module To Send Get Or Post Request Example

Python requests module provide functions to write web request process code easy and simple. It can send both http get and post request to web server. When you send get request to web server, you can use python request module to pass parameters. When you send post request to web server, you can use python

How To Use Python Requests Module To Send Get Or Post Request Example Read More »

How To Fix IndentationError: Unindent Does Not Match Any Outer Indentation Level Error In Python

When I run my python script code, I meet an error like this IndentationError: unindent does not match any outer indentation level. This error is so strange and hard to find the reason. After some investigation, I finally find the solution.

How To Fix IndentationError: Unindent Does Not Match Any Outer Indentation Level Error In Python Read More »

How To Display Rich Output Media ( Audio, Video, Image etc) In IPython Jupyter Notebook

The package IPython.display provides a lot of classes for you to display rich media objects in the Jupyter notebook directly and immediately. Using classes in the IPython.display package, you can display audio (local or remote ), video(youtube or local ), image, local file links, Html data in the Jupyter notebook. This article will show you

How To Display Rich Output Media ( Audio, Video, Image etc) In IPython Jupyter Notebook Read More »