python / ruby or the other script code snippet