I am building a tool that retrieves the meta descriptions from a web page. Because sites mark up descriptions differently, there are a few different checks you need to run to ascertain a description. (more…)
Read more »
There is multiple ways how to get current timestamp in Python.
If you want to get timestamp in Python, you may use functions from modules time, datetime, or calendar.
(more…)
Read more »
In Python, everything is object. Functions in Python are first-class objects which means that they can be stored in a variable, added in the lists, passed as arguments to another function etc. With… (more…)
Read more »
Implementation of Joel Greenblatt's magic formula, which he described in his book - "The Little Book That Still Beats the Market". - rbhatia46/Greenblatt-Magic-Formula-Value-Investing... (more…)
Read more »
Unlike languages like C, much of the time Python will free up memory for you. But sometimes, it won’t work the way you expect it to. Consider the following Python program—how much memory do you think it will use at peak? import numpy as np def load_1GB_of... (more…)
Read more »