我是新来的Python 我有一个像这个的字符串
Temp = " , /1412311.2121
"
我所期望的输出只是获得数字和小数数本身,所以我在找
1412311.2121
as the output.. trying to get rid of the , / in the string.. I have tried Temp.strip(" ") and Temp.rstrip(" ") for trying to remove but i still seems to remain in my string. :/... Does anyone have any ideas? Thanks for your help.