May-16-2018, 05:40 PM
You are using an object called 'file' which can't exist because of it's captured by the GC, because of after the with statement on line 35 there is only one line of code. Yet you are using it as if it is a string on line 62 and this string has an attribute called name?
Want to populate a database? Go with SQLAlchemy. It's the right tool for that.
Want to populate a database? Go with SQLAlchemy. It's the right tool for that.