Answer the question
In order to leave comments, you need to log in
How to make code interact with other files on GitHub?
There is a VK bot on Vk_Api, it writes users to the users.txt file. After migrating the bot to Heroku/GitHub, the bot stopped interacting with users.txt. What can be done, what settings to make on the site?
def save():
with open("users.txt", "w") as file:
file.writelines([str(x) + "\n" for x in mailingIds])
Answer the question
In order to leave comments, you need to log in
You are not just a teapot, you are a lazy person who did not find the strength to read the documentation. Or at least use the search, this question is asked here regularly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question