InterviewSolution
| 1. |
How Is Testing The Installation? |
|
Answer» It needs to be verified whether the application has properly been installed in the system or not in the same way as we do for applications like Java. You may choose any one of the three methods mentioned in the previous CHAPTER to install and deploy CherryPy in your environment. CherryPy must be able to import from the Python shell as follows − import cherrypy If CherryPy is not installed globally to the local system’s Python environment, then you need to set the PYTHONPATH environment variable, else it will display an error in the following way − import cherrypy It needs to be verified whether the application has properly been installed in the system or not in the same way as we do for applications like Java. You may choose any one of the three methods mentioned in the previous chapter to install and deploy CherryPy in your environment. CherryPy must be able to import from the Python shell as follows − import cherrypy If CherryPy is not installed globally to the local system’s Python environment, then you need to set the PYTHONPATH environment variable, else it will display an error in the following way − import cherrypy |
|