Python Forum

Full Version: Running a code through multiple files in a folder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am new to python. I have 1000 files in a folder and I want to run a block of code on all the files in the folder. The files contains textual content (tweets) and I want to remove the "https" and remove all the columns (eg. timestamp, article id etc) apart from the tweet content column
Any help would be extremely appreciated.
what have you tried (or thought of) so far?