title: Parsing a function from text file in python
body: <p>I am trying to parse the function f = sin(2*pi*x) from a text file. In the main code the function stay inside a for loop and will take the input value for x which is already defined. Now, how can I parse this function to my main code to get floating number outputs for the function? I am new in python. Any kind of help is much appreciated. Thanks.</p>