Database Reference
In-Depth Information
Unlike the output that you get when installing this program on a Linux machine,
the output here is rather brief, indicating only that the extension has been downloaded
and installed (see Figure 2-4 ). That said, this information is sufficient for your purposes
in this case.
Figure 2-4. Installing PyMongo under Windows
Confirming That Your PyMongo Installation Works
To confirm whether the PyMongo installation has completed successfully, you can open
up your Python shell. In Linux, you do this by opening a console and typing python .
In Windows, you do this by clicking Start Programs Python xy Python
(commandline). At this point, you will be welcomed to the world of Python
(see Figure 2-5 ).
Figure 2-5. The Python shell
You can use the import command to tell Python to start using the freshly installed
extension:
>>> import pymongo
>>>
 
Search WWH ::




Custom Search