Skip to content

Instantly share code, notes, and snippets.

View Manocs11's full-sized avatar

Mano_Blacky Manocs11

  • Tcs
  • Chennai
View GitHub Profile
@vepetkov
vepetkov / snowflake_upload_local.py
Created December 20, 2019 12:56
Snowflake Upload Local Files from Python
import os
import snowflake.connector
ctx = snowflake.connector.connect(
authenticator="snowflake",
user=os.getenv("SNOWSQL_USER"),
password=os.getenv("SNOWSQL_PWD"),
account=os.getenv("SNOWSQL_ACCOUNT"),
warehouse=os.getenv("SNOWSQL_WAREHOUSE")
)