Parse HTML Using Python Beautiful Soup June 19, 2020June 19, 2020cocyer In this tutorial, we will introduce how to parse a html page using python beautiful soup package. 1. Import library from bs4 import [...]
Scrape and Extract Text from HTML Using Python Beautiful Soup June 19, 2020cocyer In this tutorial, we will introduce the way to scrape html and extract some useful text from a web page using python beautiful [...]
Convert RGB Color to Hex Code in Java June 19, 2020cocyer In this tutorial, we will introduce how to convert a rgb color value to hex code using java. We can create a java [...]
Remove Duplicate Elements from an Array in PHP June 19, 2020cocyer In this tutorial, we will introduce the way to remove duplicate elements from a php array using php array_flip() function. PHP array_flip() function [...]
Convert RGB Color to Hex Code in Python June 19, 2020cocyer In this tutorial, we will introduce the way to convert a rgb color value to hex code using python. Here is an example: [...]
Convert an Image to Base64 String in Python June 19, 2020cocyer In this tutorial, we will introduce the way to convert an image to base64 string using python base64 package. 1. Import library import [...]
Python: Implement Binary Search Algorithm – A Step Guide June 19, 2020March 31, 2021cocyer In this tutorial, we will implement binary search using python script. 1. Creae a sorted list, which contains some numbers we plan to [...]
Create Array in NumPy: A Beginner Introduction June 19, 2020cocyer In this tutorial, we will introduce some methods to create array in NumPy. 1. The most common way is to create an array [...]
Convert a Float NumPy Array to Integer Array in NumPy June 19, 2020June 19, 2020cocyer In this tutorial, we will introduce how to convert a float numpy array to integer array. 1. The most simplest way is to [...]
Iterate NumPy Array Using numpy.nditer() June 19, 2020June 19, 2020cocyer numpy.nditer() function allow us to iterate a numpy array. In this tutorial, we will introduce how to iterate a numpy array using this [...]