So i recently was forced to switch from C to python for Numerical Analysis reasons, and being new to Python/NumPy I was wondering if there was any equivalent of the function fscanf for Python.NumPy or how I would go about reading in a line of data and store the individual "strings" into variables.
I figured my best bet was probably splitting the string into x pieces using split(), but I'm not entirely sure how to assign each individual piece of the string to a corresponding variable.
Also wondering if there is an equivalent of a C structure in Python.
Thank you for reading.