This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It is recommended that you extract your username, password and database variables from an external file rather than having them directly within your code else you maybe exposed | |
username = "#" | |
password = "#" | |
database = "database:port /servicename" | |
directory = r'#:\...\file.xlsx' | |
SQL = """SELECT * FROM Table""" | |