File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\__init__.py", line 959, in infinity_polling
self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\__init__.py", line 1047, in polling
self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\__init__.py", line 1122, in __threaded_polling
raise e
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\__init__.py", line 1078, in __threaded_polling
self.worker_pool.raise_exceptions()
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\util.py", line 154, in raise_exceptions
raise self.exception_info
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\util.py", line 98, in run
task(*args, **kwargs)
File "C:\Users\motor\OneDrive\Рабочий стол\pythonProject1\steganography_tg_bot.py", line 52, in get_encrypted_message
secret = lsb.reveal(f'{new_img_name}')
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\stegano\lsb\lsb.py", line 88, in reveal
if revealer.decode_pixel((col, row)):
File "C:\Users\motor\AppData\Local\Programs\Python\Python310\lib\site-packages\stegano\tools.py", line 205, in decode_pixel
raise IndexError("Impossible to detect message.")
IndexError: Impossible to detect message.
IndexError: Impossible to detect message.
var
f1,f2,f3: text;
s: string;
i: integer;
begin
assign(f1,'file1.txt');
reset(f1);
assign(f2,'file2.txt');
reset(f2);
assign(f3,'file3.txt');
rewrite(f3);
while not eof(f1) and not eof(f2) do
begin
readln(f1,s);
s.Split(' ');
readln(f2,i);
writeln(f3,s,' ',i);
end;
close(f1);
close(f2);
close(f3);
end.
текст в любом случае превращается в unicode-символы