Показать сообщение отдельно

  #1  
Старый 01.09.2024, 13:31
.KOHTOP.
Участник форума
Регистрация: 10.05.2023
Сообщений: 226
С нами: 1587032

Репутация: 28
По умолчанию

Python:





Код:
import
mysql
.
connector

mydb
=
mysql
.
connector
.
connect
(
host
=
"92.53.99.174"
,
user
=
"chine"
,
password
=
"chineQQS1"
,
database
=
"chine"
)
mycursor
=
mydb
.
cursor
(
)
mycursor
.
execute
(
"SELECT * FROM linkedin_users"
)
myresult
=
mycursor
.
fetchall
(
)
for
x
in
myresult
:
print
(
x
)


1725183103854.png.KOHTOP. · 1 Сен 2024 в 12:31' data-fancybox="lb-post-1535532" data-lb-caption-extra-html="" data-lb-sidebar-href="" data-single-image="1" data-src="https://www.blast.hk/attachments/250832/" style="cursor: pointer;" title="1725183103854.png">


1725183115430.png.KOHTOP. · 1 Сен 2024 в 12:31' data-fancybox="lb-post-1535532" data-lb-caption-extra-html="" data-lb-sidebar-href="" data-single-image="1" data-src="https://www.blast.hk/attachments/250833/" style="cursor: pointer;" title="1725183115430.png">


 
Ответить с цитированием