def first_script(url: str):
pass
def main():
urls = ['link_1', 'link_2']
for url in urls:
first_script(url)
schedule.every(1).minutes.do(first_script)
while True:
schedule.run_pending()
time.sleep(1)
with open('1.txt', 'r') as f:
raw_lines = f.readlines()
print(raw_lines)
for line in raw_lines:
count_a, count_result = 0, 0
if line.count('A') < 25:
for symbol in line:
if symbol == 'A':
count_a += 1
else:
if count_result < count_a:
count_result = count_a
count_a = 0
if count_result == 0 and count_a > 0:
count_result = count_a
print(f'Max distance between A in line -- {count_result}')
info_ = soup.find_all('span', class_='sc')
response = {'result': True,
'balance': 3,
'discount': 0,
'discountDueTime': 0,
'promoFlow': False,
'data': {'riskscore': 0.249,
'signals': {'atm': 0.003,
'dark_market': 0, 'dark_service': 0, 'exchange_fraudulent': 0.002, 'exchange_mlrisk_high': 0.979, 'exchange_mlrisk_low': 0.005, 'exchange_mlrisk_moderate': 0.002, 'exchange_mlrisk_veryhigh': 0, 'gambling': 0, 'illegal_service': 0, 'marketplace': 0, 'miner': 0.007, 'mixer': 0, 'p2p_exchange_mlrisk_high': 0.001, 'p2p_exchange_mlrisk_low': 0, 'payment': 0, 'ransom': 0, 'scam': 0, 'stolen_coins': 0, 'wallet': 0}, 'updated_at': 1641820488, 'address': '0xa4fdbeb3870ec3b342b5847ff002b06d1e8baa74', 'fiat_code_effective': 'usd', 'counterparty': {'address': '0xa4fdbeb3870ec3b342b5847ff002b06d1e8baa74'}, 'reportedAddressBalance': None, 'blackListsConnections': False, 'pdfReport': 'https://extrnlapiendpoint.silencatech.com/response/userdata/86DC50DF724411D/renderer/pdf/responsedata/47126220220110151448:1AA82A5035981B4', 'asset': 'ETH', 'timestamp': '2022-01-10 15:14:48'}}
print(response['data']['signals'])
async def on_member_join(autor):
@Bot.event
async def on_member_join(member):
Bot: Bot = commands.Bot(command_prefix=('+'), intents = discord.Intents.all())
seq = {'a':2, 'b':3, 'c':4}
def some_kwargs(kwargs):
text = ''
print(kwargs.items)
for key, value in kwargs.items():
text += f'{key}={value}' + ' '
print(text)
#чтобы вернуть переменную и использовать дальше
return text
can = canvas.Canvas(packet, pagesize=letter)]
url = 'https://old.cs.money/user_info'