Answer the question
In order to leave comments, you need to log in
Why does Python create two copies of files when writing with open()?
with open(f"./captcha/{cls.count}.jpeg", "wb") as f:
f.write(await captcha_res.read())
Answer the question
In order to leave comments, you need to log in
Well, you most likely started to make slashes in the other direction, launched it, so you created such crooked files, then made the correct slashes, confused it, created it in the right folder.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question