Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
What is the difference between readline and readlines function in python 3
1 ответ
+ 2
readline basically read single line from file & return as string where readlines reads all contents of the file & return data in lists of strings