Answer the question
In order to leave comments, you need to log in
How to take a line from a txt file one by one?
I decided to write a VK spammer, but on it you need to take the id of friends somewhere, I wrote a simple id parser through vk_api, which throws all the id into a text file, each on a new line.
But I still don’t understand how to get id from this text document in turn.
Everything should work like this
And so on in a loop with each id
driver.get("https://vk.com/write" + id)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question