Code: Alles auswählen
from StringIO import StringIO
import numpy as np
String = """23493983.387 23493981.437 # 21463825.739
21482828.995 # # 21482827.535"""
print np.genfromtxt(StringIO(String), delimiter=(13,16,15,14), missing_values = '#', autostrip = True, filling_values = 0.0)
Was mache ich falsch?