Python script to gather system information