Python script compression tool