Reusing snowflake connection object in multiple python scripts

52 Views Asked by At

I'm using conn = snowflake.connector.connect(user='user',password=password,account='account',warehouse='warehouse',database='db')

for the snowflake connection in every single python script to execute sql query. Instead I need to create this object once and reuse this in all my python scripts. Is there any way to do this?

0

There are 0 best solutions below