Mar-22-2020, 09:23 AM
(Mar-22-2020, 09:19 AM)BrandonKastning Wrote:insertVariablesIntoTable('allTitle[0]', 'allOpinion[0]', 'allURL')
Why the quotes? That's not how you refer to variables, is it?
Quote:Adding the above code as the bottom line in my .py I receive the following error:
Quote:Traceback (most recent call last):
File "HTML2CSV-NoWrite3Variables-to-MySQL.Python.Variable.Passoff.MySQL.INSERT.py", line 61, in <module>
insertVariablesIntoTable('allTitle[0]', 'allOpinion[0]', 'allURL')
NameError: name 'insertVariablesIntoTable' is not defined
Do you have any suggestions as to how to remedy this?
Does the function live in another file? You need to import it if so.