mirror of
https://github.com/ada-dmitry/PyProg_ada.git
synced 2026-09-24 09:20:44 +00:00
tgbot1.0
This commit is contained in:
@@ -5,6 +5,7 @@ from selenium import webdriver
|
||||
from selenium.webdriver.chrome.service import Service
|
||||
import config
|
||||
|
||||
|
||||
# Парсер и загрузчик в БД//Антипенко Дмитрий
|
||||
connection = psycopg2.connect(
|
||||
host=config.hostname, dbname=config.databname, user=config.username, password=config.passw)
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
hostname = "localhost"
|
||||
databname = "PythonDB"
|
||||
username = "postgres"
|
||||
passw = "Q1w2e3r4"
|
||||
|
||||
|
||||
def f(a: int, b: int) -> int:
|
||||
'''
|
||||
this is an add function
|
||||
'''
|
||||
return a + b
|
||||
|
||||
Reference in New Issue
Block a user