I'm going nuts as I've done a lot of searching. Here is the Python code:
import os
def checknum(datafile):
lrow = []
mess="All OK."
with open(datafile, "rb") as f:
. . .
DATADIR = "c:\data"
DATAFILE = "Wind Turbine Power Data_Test_GEInternal.csv"
datafile=os.path.join(DATADIR,DATAFILE)
mess=checknum(datafile)
I'm using the whole path. What am I missing?
Thanks, Larry