使用正则表达式获取字符串里的浮点数:
import re
regex = re.compile(r"\d+\.+\d+")
i = "MULTISTRING ((13294064.7654 4312942.966899798, 13794019.877 4312953.864499999, 13270146.0587 4337944.319439999," \
" 13294064.7654 4312942.966899798))"
aa = re.findall(regex, i)
print(aa)
结果展示: