spacepaste
new
Paste details
reply
|
raw
column_str
=
"ticker, instrument, name, sector, currency, created_date, last_updated_date"
insert_str
=
(
"
%s
, "
*
7
)[:
-
2
]
final_str
=
"INSERT INTO symbol (
%s
) VALUES (
%s
)"
%
(
column_str
,
insert_str
)