email_box = null
def email(message):
email_box = message.text
doge = bot.send_message(message.chat.id, 'Кошелек')
bot.register_next_step_handler(doge, wallet)
def wallet(message):
wallet_ad = message.text
bot.send_message(message.chat.id, wallet_ad, email_box)
#p {
animation: strokeOffset 5s linear forwards;
animation-iteration-count: infinite;
}
@keyframes strokeOffset {
50% {
stroke-dashoffset: 0;
}
100% {
stroke-dashoffset: 1;
}
}
window.onload=function(){
let paths = document.querySelectorAll('[id=p]');
paths.forEach(function(path) {
const length = path.getTotalLength();
path.style.strokeDasharray = length;
path.style.strokeDashoffset = length;
});
}
shutil.move(file, os.path.join(framesLocation, file))
import os
import shutil
from os import path
filename = os.listdir(os.getcwd())
frames = ['.jpeg', '.jpg', '.svg', '.png', '.PNG']
framesLocation = "Snapshots_temp"
for file in filename:
if os.path.splitext(file)[1] in frames:
if(path.exists(framesLocation)):
shutil.move(file, os.path.join(framesLocation, file))
else:
os.mkdir(framesLocation)
shutil.move(file, os.path.join(framesLocation, file))
if(not exists(os.path.join(framesLocation, file))):
import os
import shutil
from os import path
from os.path import exists
filename = os.listdir(os.getcwd())
frames = ['.jpeg', '.jpg', '.svg', '.png', '.PNG']
framesLocation = "Snapshots_temp"
for file in filename:
if os.path.splitext(file)[1] in frames:
if(not exists(os.path.join(framesLocation, file))):
if(path.exists(framesLocation)):
shutil.move(file, framesLocation)
else:
os.mkdir(framesLocation)
shutil.move(file, framesLocation)