why is my code not working?
import shutil filenames = shutil('*.htm') # list of all .htm files in the directory with open('output_file.htm','wb') as wfd: for f in filenames: with open(f,'rb') as fd: shutil.copyfileobj(fd, wfd)I get this error:
Error:Traceback (most recent call last):
File "E:\Carte\BB\17 - Site Leadership\alte\Ionel Balauta\Aryeht\Task 1 - Traduce tot site-ul\Doar Google Web\Andreea\Meditatii\Sedinta 31 august 2022\merge txt - versiune 2 .py", line 3, in <module>
filenames = shutil('*.htm') # list of all .htm files in the directory
TypeError: 'module' object is not callable