0.074 37.7651C320.453 38.854 319.256 40.2085 319.205 40.2657L319.178 40.2953L317.395 40.3802C317.225 40.3882 317.06 40.4318 316.908 40.5079C316.757 40.5841 316.623 40.6912 316.516 40.8223C316.409 40.9534 316.33 41.1055 316.286 41.2689C316.241 41.4322 316.232 41.6031 316.257 41.7704C316.306 41.9863 316.367 42.1992 316.44 42.408C316.744 43.3592 316.973 44.1718 316.678 44.4808C316.612 44.5406 316.529 44.5804 316.441 44.5957C316.353 44.611 316.262 44.6011 316.179 44.5673C315.9 44.4929 315.711 44.5084 315.617 44.6137C315.47 44.777 315.515 45.1903 315.743 45.7776C315.814 45.9633 315.833 46.165 315.798 46.3608C315.763 46.5567 315.675 46.7392 315.544 46.8886C315.445 47.0052 315.322 47.0991 315.183 47.1636C315.044 47.2281 314.893 47.2618 314.74 47.2624Z" fill="#2F2E41"></path></g></g><defs><clipPath id="clip0_911_28736"><rect width="120.07" height="112.852" fill="var(--bg-white-color)" transform="translate(303.965)"></rect></clipPath></defs></svg></div><div class="NFT_main__1rTM5"><div class="NFT_totalAsset__2FRq1">NFTs Net Worth: <span class="NFT_totalAssetText__wlD4g">$1,800</span><span class="Tips_tips__3Os90"><svg width="12px" height="12px" viewBox="0 0 12 12" class="Tips_icon__2BHWL">
AttributeError: 'list' object has no attribute 'text_content'
driver.get('https://debank.com/profile/{}/nft'.format(address))
time.sleep(10)
tree = html.fromstring(driver.page_source)
find_nft_balance = tree.xpath('/html/body/div[1]/div/div[2]/div[1]/div[3]/div/div[2]/div[1]/span[1]')
[<Element span at 0x1d22ef38590>]
for address in range(len(address_list)):
checkAddresses(address_list[address])
address_list.pop(address_list.index(address_list[address]))
with open('addresses_out.txt', 'w') as f:
for address_out in address_list:
f.write(str(address_out) + '\n')
for address in address_list:
checkAddresses(address)
address_list.pop(address_list.index(address))
with open('addresses_out.txt', 'w') as f:
for address_out in address_list:
f.write(address_out + '\n')
import win32api
import time
width = win32api.GetSystemMetrics(0)
height = win32api.GetSystemMetrics(1)
midWidth = int((width + 1) / 2)
midHeight = int((height + 1) / 2)
state_left = win32api.GetKeyState(0x01) # Left button up = 0 or 1. Button down = -127 or -128
while True:
a = win32api.GetKeyState(0x01)
if a != state_left: # Button state changed
state_left = a
print(a)
if a < 0:
print('Left Button Pressed')
else:
print('Left Button Released')
win32api.SetCursorPos((midWidth, midHeight))
time.sleep(0.001)
from aiogram.types import URLInputFile
import requests
get = requests.get('https://loremflickr.com/320/240')
image = URLInputFile(get.url, filename="python-logo.png")
await bot.send_photo(message.chat.id, image )
import requests
get = requests.get('https://loremflickr.com/320/240')
print(get.url)