C:\Users\saverma2>notebook ‘notebook’ is not recognized as an internal or external command, operable program or batch file.

python -m notebook

Here is what the above code is Doing:
1. It’s telling Python to run the notebook module
2. The notebook module has an attribute called app
3. The app attribute is a member of the notebook class
4. The notebook class is a subclass of the tornado.web.Application class
5. The tornado.web.Application class has an attribute called listen
6. The listen attribute is a member of the tornado.httpserver.HTTPServer class
7. The tornado.httpserver.HTTPServer class has an attribute called bind
8. The bind attribute is a member of the socket.socket class
9. The socket.socket class has an attribute called bind
10. The bind attribute is a member of the _socket.socket class
11. The _socket.socket class has an attribute called getsockname
12. The getsockname attribute is a member of the socket._socketobject class
13. The socket._socketobject class has an attribute called fileno
14. The fileno attribute is a member of the _socket.socket class
15. The _socket.socket class has an attribute called makefile
16. The makefile attribute is a member of the _socket.socket class
17. The _socket.socket class has an attribute called _sock
18. The _sock attribute is a member of the _socket.socket class
19. The _socket.socket class has an attribute called family
20. The family attribute is a member of the _socket.socket class
21. The _socket.socket class has an attribute called type
22. The type attribute is a member of the _socket.socket class
23. The _socket.socket class has an attribute called proto
24. The proto attribute is a member of the _socket.socket class
25. The _socket.socket class has an attribute called fileno
26. The fileno attribute is a member of the _socket.socket class
27. The _socket.socket class has an attribute called getsockname
28. The getsockname attribute is a member of the _socket.socket class
29. The _socket.socket class has an attribute called getpeername
30. The getpeername attribute is a member of the _socket.socket class
31. The _socket.socket class has an attribute called setsockopt
32. The setsockopt attribute is a member of the _socket.socket class
33. The _socket.socket class has an attribute called getsockopt
34. The getsockopt attribute is a member of the _socket.socket class
35. The _socket.socket class has an attribute called send
36. The send attribute is a member of the _socket.socket class
37. The _socket.socket class has an attribute called sendto
38. The sendto attribute is a member of the _socket.socket class
39. The _socket.socket class has an attribute called recv
40. The recv attribute is a member of the _socket.socket class
41. The _socket.socket class has an attribute called recvfrom
42. The recvfrom attribute is a member of the _socket.socket class
43. The _socket.socket class has an attribute called close
44. The close attribute is a member of the _socket.socket class
45. The _socket.socket class has an attribute called shutdown
46. The shutdown attribute is a member of the _socket.socket class
47. The _socket.socket class has an attribute called setsockopt
48. The setsockopt attribute is a member of the _socket.socket class
49. The _socket.socket class has an attribute called getsockopt
50. The getsockopt attribute is a member of the _socket.socket class
51. The _socket.socket class has an attribute called sendall
52. The sendall attribute is a member of the _socket.socket class
53. The _socket.socket class has an attribute called settimeout
54. The settimeout attribute is a member of the _socket.socket class
55. The _socket.socket class has an attribute called gettimeout
56. The gettimeout attribute is a member of the _socket.socket class
57. The _socket.socket class has an attribute called setsockopt
58. The setsockopt attribute is a member of the _socket.socket class
59. The _socket.socket class has an attribute called getsockopt
60. The getsockopt attribute is a member of the _socket.socket class
61. The _socket.socket class has an attribute called setblocking
62. The setblocking attribute is a member of the _socket.socket class
63. The _socket.socket class has an