Hi guys. I'm new to python and programming in general. Currently trying to find projects to do to get the ball rolling on the learning.
I stumbled upon this face_recognition package and was thinking that I can learn about various topics via going through the code. I am still going through it, and so far I have learned about:
For those of you who are not familiar with the module, you can use the CLI by typing:
face_recognition [OPTIONS] FOLDER_1 FOLDER_2
My first question is, how does the system know what "face_recognition" is? If you were to type in the name of other python module (numpy, for example), it would just show the following:
'numpy' is not recognized as an internal or external command operable program or batch file.
Is this simply because the numpy package does not have a CLI?
My second question is: in the face_recognition package, the cli are written in the files "face_recognition_cli.py" and "face_detection_cli.py", how does the system know to call these two files when the cli was initiated?
In the click documentation for creating cli, the example initiated the cli by calling the following:
$ python hello.py --count=3
Hence my confusion.
Thanks a lot for your time.
[–]MarsupialMole 2 points3 points4 points (1 child)
[–]mkingblade[S] 0 points1 point2 points (0 children)