Python Methylation Code