How to remove empty strings from a list of strings in Python?

Hi, I am working on a Python project, and I have a list of strings that contain empty strings. I want to remove all the empty strings from the list, but I’m not sure how to do it. Here is an example of the list:

my_list = ["hello", "", "world", "", "", "python", "", "programming", ""]

I want to remove all the empty strings so that the resulting list looks like this:

["hello", "world", "python", "programming"]

Can someone please provide me with a code snippet that will accomplish this? I have tried using the filter() function with None, but it didn’t work for me. Thank you in advance for your help!