concept directory in category python

appears as: directory, directories, directory, directories
Hello! Python

This is an excerpt from Manning's book Hello! Python.

bash: ./hello_world.py: /usr/local/bin/python: bad interpreter:
   No such file or directory

Once you’ve found a function that you think does what you need, you can try it out to make sure . Here, you’re calling os.path.isdir() on a couple of different files and directories to see what it returns. For more complicated libraries, you might find it easier to write a short program rather than type it all in at the command line.

Listing 3.7. Finding the differences between directories
D:\>python code\difference_engine.py test test2
Comparing:
test
test2
dir test root is test
dir test2 root is test2
test\test 2\test2.txt and test2\test 2\test2.txt differ!
image4.gif not found in directory 1
test 2\test4.txt not found in directory 1
test\image2.gif and test2\image2.gif differ!
test4.txt not found in directory 1
test\test2.txt and test2\test2.txt differ!
test1.txt not found in directory 2
test 2\test1.txt not found in directory 2
image1.gif not found in directory 2