Python script - linux collection