I want to run a script that simply writes some text into a .txt file
this is my code:
with open("/home/exec85/scrape/pc.txt", "a") as f:
f.write(f"{list_all_results}")
I want to write the data of some webscraping into a .txt file. But the file is just empty. Running this on my PC works as intended. What am I missing?