please i have a problem with the output of subprocess.check_output method , i want to extract just the numbers from its output!! this is my code and the output is the picture below :
disply = subprocess.check_output('grgsm_scanner -p36' , shell=True).splitlines()
print disply
this is the output data : image for returned data
how can i get just the numbers from for example disply[2] and disply[3]....etc in other term i want all numbers in the data of output , i want to get for example : [24 , 939.8 , 46021 ,461, 603 ,2 ,-27,......] with number format not string , Thanks in advance,