File exists but Python says 'not found'.

prerit86 at prerit86 at
Mon Jul 1 12:57:37 CEST 2013

The variable 'train' is being called like this ->

def main(train='train.csv', test='test.csv', submit='logistic_pred.csv'):    
    print "Reading dataset..."
    train_data = pd.read_csv(train)
    test_data = pd.read_csv(test)

Let me know if I need to post the full code.

More information about the Python-list mailing list