class AddAvailabilityForm(forms.ModelForm):
def __init__(self, name, *args, **kwargs):
@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'
from datetime import datetime
ts = 1620457414.319339
print(datetime.utcfromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S'))
for item in self.cart.values():
item['price'] = Decimal(item['price'])
item['total_price'] = item['price'] * item['quantity']
yield item
emb.add_field(name="Акаунт был создан:", value=message.author.created_at.strftime(" % a, % d %B %Y, %I:%M %p UTC"), inline=False)
async def send_result() -> None:
async def show(callback_query: types.CallbackQuery):
pypy -m ensurepip
data["specialist"] = callback_query.message.text
callback_data = callback_query.data
list_data = []
data = {"timestamp": 1640533085532}
for k, v in data.items():
list_data.append(k + ':' + str(v))
new_data = data.items()