I would like to change the folder where a file is created in my Python Script.
Just now I have the next line:
file = open("scraping.txt", "w")
but the problem is that scraping.txt is saved in the root folder and I would like to save it in the same folder where the script is.
How can I do that?
Thanks