The cheat is to read the on disk file and write it into an in memory file and then use that with STDIN. Something like: sql_copy = "COPY " + self.pg_tbl_name sql_copy += " FROM STDIN WITH CSV DELIMITER '\t'" cur_copy.copy_expert(sql_copy, mem_file)
psycopg by date:
Соглашаюсь с условиями обработки персональных данных