This file contains hidden or 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
| #!/usr/bin/python | |
| # viewGoogleMaps.py | |
| # author: Ken Doman (github.com/raykendo) | |
| # purpose: Looking up addresses through Google Maps automagically | |
| # requirements: python 2 or 3, selenium for python | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from selenium.webdriver.support import expected_conditions as EC |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| # an example of connecting to a SQL Server database using Python 3 | |
| # automatically closes the db connection after use | |
| import pyodbc | |
| from contextlib import contextmanager | |
| # pyodbc wiki: https://github.com/mkleehammer/pyodbc/wiki | |
| # example based on https://docs.microsoft.com/en-us/sql/connect/python/pyodbc/step-3-proof-of-concept-connecting-to-sql-using-pyodbc?view=sql-server-ver15 |
OlderNewer