Test Python script