Python and R Code for Extracting Morphology Statistics From Galaxy Images NOTE: the Python code base is now the "official" one that will be updated in the future.