User talk:JesseW/Children of Category Japan list

An example of using my Category Browsing Tools], 3rd version. This is the textual results of the commands: (the necessary files had already been created)

>>> import wikipedia
>>> w=wikipedia.CatagoryBrowser()
>>> w.dig_children("Japan", 30, [], "text")

A small variation of the last command(replacing "text" with "graph" and adding the argument "japan.dot" at the end) will create a graph of the results in the file japan.dot. I did this and translated it to PNG and uploaded it here. JesseW 02:46, 17 Dec 2004 (UTC) (updated with new version of the program 23:39, 22 Dec 2004 (UTC)) (updated with another newer version of the program(this makes different headings for different levels) JesseW 05:11, 30 Dec 2004 (UTC))


I. Japan
  A. Japanese_people
    1. Japanese_emperors
    2. Japanese_entrepreneurs
    3. Japanese_religious_leaders
    4. Imperial_Japanese_Navy_officers
      a. Imperial_Japanese_Navy_admirals
    5. Shoguns
      a. Ashikaga_shoguns
      b. Tokugawa_shoguns
      c. Kamakura_shoguns
  B. Japanese_prefectures
    1. Hokkaido_prefecture
    2. Aomori_prefecture
      a. Cities_in_Aomori_prefecture
      b. Towns_in_Aomori_prefecture
    3. Iwate_prefecture
    4. Yamagata_prefecture
    5. Miyagi_prefecture
    6. Fukushima_prefecture
      a. Cities_in_Fukushima_prefecture
      b. Towns_in_Fukushima_prefecture
      c. Villages_in_Fukushima_prefecture
    7. Ibaraki_prefecture
    8. Tochigi_prefecture
    9. Gunma_prefecture
    10. Saitama_prefecture
    11. Chiba_prefecture
      a. Cities_in_Chiba_prefecture
      b. Towns_in_Chiba_prefecture
      c. Villages_in_Chiba_prefecture
    12. Tokyo_prefecture
    13. Kanagawa_prefecture
    14. Niigata_prefecture
    15. Toyama_prefecture
    16. Ishikawa_prefecture
    17. Fukui_prefecture
      a. Towns_in_Fukui_prefecture
      b. Cities_in_Fukui_prefecture
    18. Yamanashi_prefecture
      a. Cities_in_Yamanashi_prefecture
    19. Nagano_prefecture
    20. Gifu_prefecture
      a. Cities_in_Gifu_prefecture
    21. Mie_prefecture
    22. Aichi_prefecture
      a. Cities_in_Aichi_prefecture
      b. Towns_in_Aichi_prefecture
      c. Districts_in_Aichi_prefecture
    23. Shizuoka_prefecture
    24. Shiga_prefecture
    25. Kyoto_prefecture
    26. Osaka_prefecture
    27. Nara_prefecture
    28. Hyogo_prefecture
    29. Wakayama_prefecture
    30. Shimane_prefecture
    31. Tottori_prefecture
    32. Okayama_prefecture
    33. Tokushima_prefecture
    34. Yamaguchi_prefecture
    35. Hiroshima_prefecture
    36. Ehime_prefecture
      a. Towns_in_Ehime_prefecture
      b. Cities_in_Ehime_prefecture
      c. Districts_in_Ehime_prefecture
    37. Kagawa_prefecture
    38. Kochi_prefecture
    39. Saga_prefecture
    40. Fukuoka_prefecture
      a. Towns_in_Fukuoka_prefecture
      b. Cities_in_Fukuoka_prefecture
      c. Districts_in_Fukuoka_prefecture
    41. Nagasaki_prefecture
    42. Oita_prefecture
    43. Kumamoto_prefecture
    44. Miyazaki_prefecture
    45. Kagoshima_prefecture
    46. Okinawa_prefecture
    47. Shizuoka,_Japan
      a. Districts_in_Shizuoka,_Japan
        I. Haibara_District,_Shizuoka
          A. Towns_in_Haibara_District,_Shizuoka
    48. Tokyo_Prefecture
      a. Tokyo
        I. Wards_of_Tokyo
        II. 1964_Summer_Olympics
          A. Athletes_at_the_1964_Summer_Olympics
            1. Judoka_at_the_1964_Summer_Olympics
        III. Cities_in_Tokyo_Prefecture
  C. Japanese_history
    1. Japanese_historians
    2. Japanese_military_history
      a. World_War_II_Japanese_equipment
        I. World_War_II_Japanese_ships
          A. World_War_II_Japanese_battleships
            1. Yamato_class_battleships
            2. Fuso_class_battleships
            3. Kongo_class_battleships
            4. Ise_class_battleships
            5. Nagato_class_battleships
          B. World_War_II_Japanese_aircraft_carriers
            1. Akagi_class_aircraft_carriers
            2. Soryu_class_aircraft_carriers
            3. Hosho_class_aircraft_carriers
            4. Kaga_class_aircraft_carriers
            5. Shokaku_class_aircraft_carriers
            6. Shoho_class_aircraft_carriers
            7. Shinano_class_aircraft_carriers
          C. World_War_II_Japanese_submarines
          D. World_War_II_Japanese_destroyers
            1. Kagero_class_destroyers
            2. Akatsuki_class_destroyers
          E. World_War_II_Japanese_cruisers
            1. Tone_class_cruisers
            2. Nachi_class_cruisers
            3. Myoko_class_cruisers
        II. World_War_II_Japanese_infantry_weapons
        III. World_War_II_Japanese_suicide_weapons
        IV. World_War_II_Japanese_vehicles
          A. World_War_II_Japanese_armored_fighting_vehicles
            1. World_War_II_Japanese_tankettes
        V. World_War_II_Japanese_aircraft
          A. World_War_II_Japanese_fighter_aircraft
          B. World_War_II_Japanese_transport_aircraft
          C. World_War_II_Japanese_patrol_aircraft
          D. World_War_II_Japanese_reconnaissance_aircraft
          E. World_War_II_Japanese_ground_attack_aircraft
          F. World_War_II_Japanese_trainer_aircraft
          G. World_War_II_Japanese_bombers
            1. World_War_II_Japanese_medium_bombers
            2. World_War_II_Japanese_heavy_bombers
            3. World_War_II_Japanese_torpedo_bombers
            4. World_War_II_Japanese_dive_bombers
          H. World_War_II_Japanese_jet_aircraft
      b. Battles_of_the_Russo-Japanese_War
    3. Muromachi_period
      a. Ashikaga_shoguns
  D. Japanese_politics
    1. Japanese_emperors
    2. Japanese_politicians
      a. Japanese_prime_ministers
    3. Elections_in_Japan
      a. Japanese_political_parties
    4. Japanese_political_parties
  E. Japanese_economy
    1. Companies_of_Japan
      a. Sony
        I. Sony_subsidiaries
      b. Mitsubishi
        I. Mitsubishi_subsidiaries
        II. Mitsubishi_vehicles
      c. Banks_of_Japan
      d. Kyocera
      e. Nissan
        I. Nissan_vehicles
        II. Nissan_platforms
        III. Nissan_engines
      f. Honda
        I. Honda_vehicles
          A. Acura_vehicles
        II. Honda_motorcycles
        III. Honda_Engines
        IV. Acura
          A. Acura_vehicles
      g. Kawasaki
        I. Kawasaki_motorcycles
      h. Suzuki
        I. Suzuki_motorcycles
        II. Suzuki_vehicles
      i. Japanese_aircraft_manufacturers
        I. Kawasaki
          A. Kawasaki_motorcycles
        II. Yokosuka
          A. Yokosuka_aircraft
  F. Japanese_demographics
  G. Japanese_culture
    1. Anime
      a. PokÈmon
        I. PokÈmon_characters
        II. PokÈmon_species
          A. Legendary_PokÈmon
          B. PokÈmon_species_by_type
            1. Normal_PokÈmon
            2. Fire_PokÈmon
            3. Water_PokÈmon
            4. Grass_PokÈmon
            5. Electric_PokÈmon
            6. Ice_PokÈmon
            7. Fighting_PokÈmon
            8. Poison_PokÈmon
            9. Ground_PokÈmon
            10. Flying_PokÈmon
            11. Psychic_PokÈmon
            12. Bug_PokÈmon
            13. Rock_PokÈmon
            14. Ghost_PokÈmon
            15. Dragon_PokÈmon
            16. Dark_PokÈmon
            17. Steel_PokÈmon
            18. Bird_PokÈmon
          C. PokÈ_Battles_PokÈmon
        III. PokÈmon_video_games
        IV. PokÈmon_places
        V. PokÈmon_images
      b. Hentai
        I. H_games
      c. Neon_Genesis_Evangelion
      d. One_Piece
        I. One_Piece_characters
      e. Outlaw_Star
      f. Love_Hina
      g. .hack
      h. Dragon_Ball
        I. Dragon_Ball_characters
        II. Dragon_Ball_sagas
        III. Dragon_Ball_places
        IV. Dragon_Ball_races
        V. Dragon_Ball_special_abilities
        VI. Dragon_Ball_objects
      i. Gundam
        I. Gundam_space_vessels
        II. Gundam_Mobile_Suits
        III. Gundam_Wars
        IV. Gundam_series
      j. Digimon
      k. Yu-Gi-Oh!
      l. InuYasha
        I. InuYasha_characters
      m. Naruto
      n. YuYu_Hakusho
      o. Shaman_King
      p. Otaku
      q. Martian_Successor_Nadesico
      r. Macross_and_Robotech
        I. Robotech
        II. Macross
        III. Macross_and_Robotech_characters
      s. Manga_and_Anime_characters
        I. PokÈmon_characters
        II. Dragon_Ball_characters
        III. Sailor_Moon_characters
        IV. Macross_and_Robotech_characters
        V. One_Piece_characters
      t. Anime_conventions
        I. Anime_Conventions
      u. Ghost_in_the_Shell
      v. Sailor_Moon
        I. Sailor_Moon_characters
      w. Rurouni_Kenshin
      x. Detective_Conan
    2. Japanese_literature
      a. Japanese_authors
    3. Manga
      a. PokÈmon
        I. PokÈmon_characters
        II. PokÈmon_species
          A. Legendary_PokÈmon
          B. PokÈmon_species_by_type
            1. Normal_PokÈmon
            2. Fire_PokÈmon
            3. Water_PokÈmon
            4. Grass_PokÈmon
            5. Electric_PokÈmon
            6. Ice_PokÈmon
            7. Fighting_PokÈmon
            8. Poison_PokÈmon
            9. Ground_PokÈmon
            10. Flying_PokÈmon
            11. Psychic_PokÈmon
            12. Bug_PokÈmon
            13. Rock_PokÈmon
            14. Ghost_PokÈmon
            15. Dragon_PokÈmon
            16. Dark_PokÈmon
            17. Steel_PokÈmon
            18. Bird_PokÈmon
          C. PokÈ_Battles_PokÈmon
        III. PokÈmon_video_games
        IV. PokÈmon_places
        V. PokÈmon_images
      b. Hentai
        I. H_games
      c. Manga_artists
      d. Neon_Genesis_Evangelion
      e. One_Piece
        I. One_Piece_characters
      f. Outlaw_Star
      g. Love_Hina
      h. .hack
      i. Dragon_Ball
        I. Dragon_Ball_characters
        II. Dragon_Ball_sagas
        III. Dragon_Ball_places
        IV. Dragon_Ball_races
        V. Dragon_Ball_special_abilities
        VI. Dragon_Ball_objects
      j. Yu-Gi-Oh!
      k. InuYasha
        I. InuYasha_characters
      l. Naruto
      m. YuYu_Hakusho
      n. Shaman_King
      o. Otaku
      p. Martian_Successor_Nadesico
      q. Macross_and_Robotech
        I. Robotech
        II. Macross
        III. Macross_and_Robotech_characters
      r. Manga_and_Anime_characters
        I. PokÈmon_characters
        II. Dragon_Ball_characters
        III. Sailor_Moon_characters
        IV. Macross_and_Robotech_characters
        V. One_Piece_characters
      s. Ghost_in_the_Shell
      t. Sailor_Moon
        I. Sailor_Moon_characters
      u. Ringu_cycle
      v. Rurouni_Kenshin
      w. Detective_Conan
    4. Japanese_mythology
      a. Japanese_goddesses
      b. Japanese_gods
    5. Japanese_music
      a. Japanese_musicians
      b. Japanese_musical_groups
      c. Gagaku
      d. Enka
        I. Enka_musicians
    6. Japanese_theater
    7. Japanese_dance
    8. Japanese_film_directors
    9. Japanese_sports
      a. Japanese_football
        I. Japanese_football_clubs
        II. Japanese_footballers
    10. Japanese_television
    11. Japanese_name
    12. Japanese_cuisine
      a. Japanese_cooking_tools
    13. Languages_of_Japan
      a. Japonic_languages
        I. Japanese_language
      b. Fuyu_languages
        I. Japonic_languages
          A. Japanese_language
    14. Japanese_folklore
    15. Japanese_newspapers
    16. Japanese_poetry
    17. J-Horror
      a. Ringu_cycle
  H. Japanese_regions
    1. Chubu_region
    2. Kanto_region
      a. Kanto_Region_Rail_Stations
      b. Tokyo
        I. Wards_of_Tokyo
        II. 1964_Summer_Olympics
          A. Athletes_at_the_1964_Summer_Olympics
            1. Judoka_at_the_1964_Summer_Olympics
        III. Cities_in_Tokyo_Prefecture
    3. Kyushu_region
    4. Shikoku_region
    5. Tohoku_region
    6. Chugoku_region
    7. Hokkaido_region
    8. Kansai_region
      a. Osaka
  I. Japanese_society
  J. Transportation_in_Japan
    1. Airports_of_Japan
    2. Airlines_of_Japan
    3. Railway_companies_of_Japan
    4. Railway_lines_of_Japan
      a. Shinkansen
    5. Railway_Stations_of_Japan
      a. Lists_of_railway_stations_in_Japan
    6. Bridges_in_Japan
  K. Japanese_law
  L. Japanese_aircraft
    1. Japanese_military_aircraft
      a. Japanese_ASW_aircraft
        I. Japanese_ASW_aircraft_1960-1969
      b. Japanese_military_aircraft_1960-1969
        I. Japanese_ASW_aircraft_1960-1969
        II. Japanese_military_rescue_aircraft_1960-1969
      c. Japanese_military_rescue_aircraft
        I. Japanese_military_rescue_aircraft_1960-1969
      d. Japanese_bomber_aircraft
        I. Japanese_bomber_aircraft_1940-1949
        II. Japanese_bomber_aircraft_1930-1939
      e. Japanese_military_aircraft_1940-1949
        I. Japanese_bomber_aircraft_1940-1949
        II. Japanese_patrol_aircraft_1940-1949
        III. Japanese_attack_aircraft_1940-1949
        IV. Japanese_military_trainer_aircraft_1940-1949
        V. Japanese_military_transport_aircraft_1940-1949
        VI. Japanese_fighter_aircraft_1940-1949
      f. Japanese_military_aircraft_1930-1939
        I. Japanese_bomber_aircraft_1930-1939
        II. Japanese_patrol_aircraft_1930-1939
        III. Japanese_military_reconnaissance_aircraft_1930-1939
        IV. Japanese_fighter_aircraft_1930-1939
      g. Japanese_patrol_aircraft
        I. Japanese_patrol_aircraft_1930-1939
        II. Japanese_patrol_aircraft_1940-1949
      h. Japanese_attack_aircraft
        I. Japanese_attack_aircraft_1940-1949
      i. Japanese_military_trainer_aircraft
        I. Japanese_military_trainer_aircraft_1970-1979
        II. Japanese_military_trainer_aircraft_1940-1949
      j. Japanese_military_aircraft_1970-1979
        I. Japanese_military_trainer_aircraft_1970-1979
      k. Japanese_military_reconnaissance_aircraft
        I. Japanese_military_reconnaissance_aircraft_1930-1939
      l. Japanese_military_transport_aircraft
        I. Japanese_military_transport_aircraft_1940-1949
      m. Japanese_fighter_aircraft
        I. Japanese_fighter_aircraft_1940-1949
        II. Japanese_fighter_aircraft_1930-1939
        III. Japanese_fighter_aircraft_1990-1999
      n. Japanese_military_aircraft_1990-1999
        I. Japanese_fighter_aircraft_1990-1999
    2. Japanese_civil_aircraft
      a. Japanese_civil_utility_aircraft
        I. Japanese_civil_utility_aircraft_1960-1969
      b. Japanese_civil_aircraft_1960-1969
        I. Japanese_civil_utility_aircraft_1960-1969
    3. Yokosuka_aircraft
  M. Military_of_Japan
    1. Japanese_military_aircraft
      a. Japanese_ASW_aircraft
        I. Japanese_ASW_aircraft_1960-1969
      b. Japanese_military_aircraft_1960-1969
        I. Japanese_ASW_aircraft_1960-1969
        II. Japanese_military_rescue_aircraft_1960-1969
      c. Japanese_military_rescue_aircraft
        I. Japanese_military_rescue_aircraft_1960-1969
      d. Japanese_bomber_aircraft
        I. Japanese_bomber_aircraft_1940-1949
        II. Japanese_bomber_aircraft_1930-1939
      e. Japanese_military_aircraft_1940-1949
        I. Japanese_bomber_aircraft_1940-1949
        II. Japanese_patrol_aircraft_1940-1949
        III. Japanese_attack_aircraft_1940-1949
        IV. Japanese_military_trainer_aircraft_1940-1949
        V. Japanese_military_transport_aircraft_1940-1949
        VI. Japanese_fighter_aircraft_1940-1949
      f. Japanese_military_aircraft_1930-1939
        I. Japanese_bomber_aircraft_1930-1939
        II. Japanese_patrol_aircraft_1930-1939
        III. Japanese_military_reconnaissance_aircraft_1930-1939
        IV. Japanese_fighter_aircraft_1930-1939
      g. Japanese_patrol_aircraft
        I. Japanese_patrol_aircraft_1930-1939
        II. Japanese_patrol_aircraft_1940-1949
      h. Japanese_attack_aircraft
        I. Japanese_attack_aircraft_1940-1949
      i. Japanese_military_trainer_aircraft
        I. Japanese_military_trainer_aircraft_1970-1979
        II. Japanese_military_trainer_aircraft_1940-1949
      j. Japanese_military_aircraft_1970-1979
        I. Japanese_military_trainer_aircraft_1970-1979
      k. Japanese_military_reconnaissance_aircraft
        I. Japanese_military_reconnaissance_aircraft_1930-1939
      l. Japanese_military_transport_aircraft
        I. Japanese_military_transport_aircraft_1940-1949
      m. Japanese_fighter_aircraft
        I. Japanese_fighter_aircraft_1940-1949
        II. Japanese_fighter_aircraft_1930-1939
        III. Japanese_fighter_aircraft_1990-1999
      n. Japanese_military_aircraft_1990-1999
        I. Japanese_fighter_aircraft_1990-1999
    2. Japanese_military_history
      a. World_War_II_Japanese_equipment
        I. World_War_II_Japanese_ships
          A. World_War_II_Japanese_battleships
            1. Yamato_class_battleships
            2. Fuso_class_battleships
            3. Kongo_class_battleships
            4. Ise_class_battleships
            5. Nagato_class_battleships
          B. World_War_II_Japanese_aircraft_carriers
            1. Akagi_class_aircraft_carriers
            2. Soryu_class_aircraft_carriers
            3. Hosho_class_aircraft_carriers
            4. Kaga_class_aircraft_carriers
            5. Shokaku_class_aircraft_carriers
            6. Shoho_class_aircraft_carriers
            7. Shinano_class_aircraft_carriers
          C. World_War_II_Japanese_submarines
          D. World_War_II_Japanese_destroyers
            1. Kagero_class_destroyers
            2. Akatsuki_class_destroyers
          E. World_War_II_Japanese_cruisers
            1. Tone_class_cruisers
            2. Nachi_class_cruisers
            3. Myoko_class_cruisers
        II. World_War_II_Japanese_infantry_weapons
        III. World_War_II_Japanese_suicide_weapons
        IV. World_War_II_Japanese_vehicles
          A. World_War_II_Japanese_armored_fighting_vehicles
            1. World_War_II_Japanese_tankettes
        V. World_War_II_Japanese_aircraft
          A. World_War_II_Japanese_fighter_aircraft
          B. World_War_II_Japanese_transport_aircraft
          C. World_War_II_Japanese_patrol_aircraft
          D. World_War_II_Japanese_reconnaissance_aircraft
          E. World_War_II_Japanese_ground_attack_aircraft
          F. World_War_II_Japanese_trainer_aircraft
          G. World_War_II_Japanese_bombers
            1. World_War_II_Japanese_medium_bombers
            2. World_War_II_Japanese_heavy_bombers
            3. World_War_II_Japanese_torpedo_bombers
            4. World_War_II_Japanese_dive_bombers
          H. World_War_II_Japanese_jet_aircraft
      b. Battles_of_the_Russo-Japanese_War
    3. Imperial_Japanese_Army
    4. Imperial_Japanese_Navy
      a. World_War_II_Japanese_ships
        I. World_War_II_Japanese_battleships
          A. Yamato_class_battleships
          B. Fuso_class_battleships
          C. Kongo_class_battleships
          D. Ise_class_battleships
          E. Nagato_class_battleships
        II. World_War_II_Japanese_aircraft_carriers
          A. Akagi_class_aircraft_carriers
          B. Soryu_class_aircraft_carriers
          C. Hosho_class_aircraft_carriers
          D. Kaga_class_aircraft_carriers
          E. Shokaku_class_aircraft_carriers
          F. Shoho_class_aircraft_carriers
          G. Shinano_class_aircraft_carriers
        III. World_War_II_Japanese_submarines
        IV. World_War_II_Japanese_destroyers
          A. Kagero_class_destroyers
          B. Akatsuki_class_destroyers
        V. World_War_II_Japanese_cruisers
          A. Tone_class_cruisers
          B. Nachi_class_cruisers
          C. Myoko_class_cruisers
      b. Imperial_Japanese_Navy_admirals
      c. Imperial_Japanese_Navy_officers
        I. Imperial_Japanese_Navy_admirals
    5. Japanese_Army
  N. Buildings_in_Japan
    1. World_Heritage_Sites_in_Japan
    2. Castles_in_Japan
    3. Palaces_in_Japan
  O. Geography_of_Japan
    1. Volcanoes_of_Japan
      a. Volcanoes_of_Honshu
      b. Volcanoes_of_Hokkaido
      c. Volcanoes_of_Kyushu
      d. Ryukyu_Islands
      e. Izu-Bonin_volcanic_arc
        I. Ogasawara_Islands
      f. Kuril_Islands
    2. Japanese_islands
      a. Ryukyu_Islands
      b. Ogasawara_Islands
      c. Kuril_Islands
  P. Hidaka_district,_Japan
    1. Towns_in_Hidaka_district,_Japan
  Q. Okayama,_Japan
    1. Districts_in_Okayama,_Japan
      a. Aida_District,_Okayama
        I. Towns_in_Aida_District,_Okayama
  R. Japanese_universities
  S. Cities_in_Japan
    1. Cities_in_Aichi_prefecture
    2. Cities_in_Akita_prefecture
    3. Cities_in_Aomori_prefecture
    4. Cities_in_Chiba_prefecture
    5. Cities_in_Ehime_prefecture
    6. Cities_in_Fukui_prefecture
    7. Cities_in_Fukuoka_prefecture
    8. Cities_in_Yamanashi_prefecture
    9. Cities_in_Tokyo_Prefecture
    10. Cities_in_Fukushima_prefecture
    11. Cities_in_Gifu_prefecture
  T. Ryukyu_Islands
  U. Japanese_towns
    1. Towns_in_Aichi_prefecture
    2. Towns_in_Aomori_prefecture
    3. Towns_in_Ehime_prefecture
    4. Towns_in_Fukui_prefecture
    5. Towns_in_Fukuoka_prefecture
    6. Towns_in_Aida_District,_Okayama
    7. Towns_in_Haibara_District,_Shizuoka
    8. Towns_in_Chiba_prefecture
    9. Towns_in_Akita_prefecture
    10. Towns_in_Fukushima_prefecture

Start a discussion