save a file using os module python code example Example: how to make all my files to work together in python >>> import os >>> entries = os.listdir('my_directory/')