import cpuinfo flags = cpuinfo.get_cpu_info().get('flags', []) print(f"flags: {flags}")