Blog  ||  Projects  ||  Google Hacks  ||  Artificial Life  ||  Search  ||  About

CIA Grep in Python

This project is just a quick python script that parses the CIA world factbook, searches for a specific property, like population, and prints this property for all countries in the database.

Type: capital and you'll get a list of countries and capitals. It works for almost all properties speficied in the CIA datase.

The program makes a good start for any CIA data harvesting hacks.

downloadable files: Source code for this project. Run the script and pass something like capital.

(c) Douwe Osinga 2001-2011, [email protected] Triposo world travel guide for Android