data science

Timing Execution – Python

This is a simple function that can help you time the code. All it does is use time() from the time module to saves the current time when the code begins, then saves the current time when it ends, and then calculates the difference. Then it uses the gmtime and strtime to format the calculated […]


Merge all Text Files in Folder – Python

So much easier on the terminal