The function is defined in tempconv.py file as
def fahr2cels(fahr) :
cels = 5/9 * (fahr - 32)
return cels
and there is a text file called tempmax_cels.txt which is a line of number. I want to write a command line in a bash shell like
python tempconv.py < tempmax_cels.txt
so the computer can accept the text file as an standard input. How can I correct tempconv.py to do it? (using import system module)