0
readlines() Py
Hi there! please tell me why the file.readlines() method only outputs [] to the console. Thanks
4 Antworten
+ 2
file is empty!!! ?
0
Sorry, no. Thats .txt file, with some text on multiple lines of strings. And console print output “[ ]” 🥺
0
file.read output text inside , but readlines NO
0
🤔can you show the code?