Компилирую весь скрипт через pyinstaller и получаю на выходе .exe
при запуске которого в диспетчере задач вижу размножение моих main.exe
Если я запускаю функцию job(), то происходит вышеописанная проблема, но если этот вызов убрать, то ничего "размножаться" не будет.
let price = '';
$(".price-from").on({
keyup: function() {
$(this).val(triplets($(this).val()));
}
});
function triplets(str) {
price = str.toString().replace(/\s/g, '').replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1\u202f')
$(".price-from").attr('data-price', price);
return price
// $("#price_from").val()
}
AK47 = types.KeyboardButton("AK-47")
AWP = types.KeyboardButton("AWP")
Deagle = types.KeyboardButton("Desert Eagle")
M4A4 = types.KeyboardButton("M4A4")
M4A1S = types.KeyboardButton("M4A1-S")
USP = types.KeyboardButton("USP-S")
Glock = types.KeyboardButton("Glock-18")
Famas = types.KeyboardButton("Famas")
Galil = types.KeyboardButton("Galil AR")
AUG = types.KeyboardButton("AUG")
SG553 = types.KeyboardButton("SG 553")
SSG08 = types.KeyboardButton("SGG 08")
P250 = types.KeyboardButton("P250")
CZ75 = types.KeyboardButton("CZ75-Auto")
Tec = types.KeyboardButton("TEC-9")
R8 = types.KeyboardButton("R8 Revolver")
FS = types.KeyboardButton("Five-SeveN")
Berettas = types.KeyboardButton("Dual Berettas")
P2000 = types.KeyboardButton("P2000")
MP9 = types.KeyboardButton("MP9")
MAC10 = types.KeyboardButton("MAC-10")
MP7 = types.KeyboardButton("MP7")
P90 = types.KeyboardButton("P90")
UMP = types.KeyboardButton("UMP-45")
MP5 = types.KeyboardButton("MP5-SD")
Bizon = types.KeyboardButton("PP-Bizon")
MAG = types.KeyboardButton("MAG-7")
XM = types.KeyboardButton("XM1014")
Nova = types.KeyboardButton("Nova")
SawedOff = types.KeyboardButton("Sawed-Off")
Negev = types.KeyboardButton("Negev")
M249 = types.KeyboardButton("M249")
SCAR = types.KeyboardButton("SCAR-20")
G3SG1 = types.KeyboardButton("G3SG1")
any = types.KeyboardButton("Any")
back = types.KeyboardButton("Back")
menu = types.KeyboardButton("Menu")