Notebook
qry=session.query(Obs.Quality_Flag_Sali, Obs.Salinity, Obs.Salinity_Bottle, Obs.Salinity_T0_C0, Obs.Salinity_T1_C1, Obs.Salinity__Pre1978, Obs.Salinity__Unknown, Obs.sourceFile ).filter(and_( Obs.Quality_Flag_Sali!=None, Obs.Salinity__Pre1978==None )).all() for row in qry: print('%5s %5s %13s %5s %13s %5s %5s %5s' % row)