could not connect to server, in order to operate pgAdmin/PostgreSQL via python - Mailing list pgsql-admin

From Alex Christian
Subject could not connect to server, in order to operate pgAdmin/PostgreSQL via python
Date
Msg-id CAG+wmOghi3Y02fUxeGURbBmh5kjvGgvyhKe08EZCgnqHZeCyqw@mail.gmail.com
Whole thread Raw
Responses Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python  (Paul Smith <paul@pscs.co.uk>)
Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python  (Scott Ribe <scott_ribe@killerbytes.com>)
List pgsql-admin
Hello, 

I am trying to connect to postgresql using python on windows, but it throws an error message. Below I am sharing the code and error. Can you please help me out on this issue? 
Thank you

Attachment

pgsql-admin by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: Postgresql 14 performance
Next
From: Paul Smith
Date:
Subject: Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python