[Solved] Python Write to Record to New Text File [closed]

Is there a way that I can append a unique character or number to the file name to coerce a new file? Yes, of course there is. Just iterate through the rows and build a different file name for each iteration. For example, import csv import pyodbc connStr = ( r”Driver={SQL Server};” r”Server=(local)\SQLEXPRESS;” r”Database=myDb;” r”Trusted_connection=yes;” … Read more