Is it necessary for txt = fo.read (2) before while to appear? Why not connect to while, directly after fo = open (fname, "r ") how to understand the logic in this? ... txt = fo.read(2) while txt != "": txt = fo read(2) ... ...
for example, I have such a file storage app public report 1 14.pdf, in the laravel project through the php artisan storage:link command, which can be accessed directly using http: domain storage report ., but because of the particularity of this pdf,...