![]() ![]() TUNNEL_TIMEOUT = 5.0 postgres_hostname = "" # You will have your own here postgres_host_port = 1234 # You will have your own port here with sshtunnel. Your Postgres database, you can install the sshtunnel packageĪnd then use code like this: import psycopg2 import sshtunnel sshtunnel. If you're running Python code on your local machine, and you want it to access There are a number of ways to do this: From Python code ¶ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |