A python code to extract features for temporal classification