{"id":594,"date":"2023-07-06T11:12:30","date_gmt":"2023-07-06T11:12:30","guid":{"rendered":"https:\/\/www.devopsfreelancer.com\/blog\/?p=594"},"modified":"2023-07-06T11:12:32","modified_gmt":"2023-07-06T11:12:32","slug":"how-to-check-any-country-information-using-python","status":"publish","type":"post","link":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/","title":{"rendered":"How to check any country Information using Python ?"},"content":{"rendered":"\n<p>In this tutorial I\u2019m going to learn how to check any country information using python. So follow this tutorial in this tutorial I have mentioned in very easy way.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Go to visual studio code and create one python file<\/strong><\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>cinfo.py\r<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>then install below package<\/strong><\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install countryinfo\r<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"408\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png\" alt=\"\" class=\"wp-image-595\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9-300x120.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9-768x306.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Next put below code<\/strong><\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>from countryinfo import CountryInfo\r\ncountry = CountryInfo('India')\r\ndata = country.info();\r\nprint(data)\r<\/code><\/pre>\n\n\n\n<p><strong>Output:-<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;'IN', 'Bh\u0101rat', 'Republic of India', 'Bharat Ganrajya']\r\nPS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n&#91;'Andaman and Nicobar Islands', 'Andhra Pradesh', 'Arunachal Pradesh', 'Assam', 'Bihar', 'Chandigarh', 'Chhattisgarh', 'Dadra and Nagar Haveli', 'Daman and Diu', 'Delhi', 'Goa', 'Gujarat', 'Haryana', 'Himachal Pradesh', 'Jammu and Kashmir', 'Jharkhand', 'Karnataka', 'Kerala', 'Lakshadweep', 'Madhya Pradesh', 'Maharashtra', 'Manipur', 'Meghalaya', 'Mizoram', 'Nagaland', 'Odisha', 'Puducherry', 'Punjab', 'Rajasthan', 'Sikkim', 'Tamil Nadu', 'Telangana', 'Tripura', 'Uttar Pradesh', 'Uttarakhand', 'West Bengal']\r\nPS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n&#91;'AFG', 'BGD', 'BTN', 'MMR', 'CHN', 'NPL', 'PAK', 'LKA']\r\nPS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n{'alpha2': 'IN', 'alpha3': 'IND'}\r\nPS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n1263930000\r\nPS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n&#91;'UTC+05:30']\r\nPS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n{'name': 'India', 'altSpellings': &#91;'IN', 'Bh\u0101rat', 'Republic of India', 'Bharat Ganrajya'], 'area': 3287590, 'borders': &#91;'AFG', 'BGD', 'BTN', 'MMR', 'CHN', 'NPL', 'PAK', 'LKA'], 'callingCodes': &#91;'91'], 'capital': 'New Delhi', 'capital_latlng': &#91;28.614179, 77.202266], 'currencies': &#91;'INR'], 'demonym': 'Indian', 'flag': '', 'geoJSON': {'type': 'FeatureCollection', 'features': &#91;{'type': 'Feature', 'id': 'IND', 'properties': {'name': 'India'}, 'geometry': {'type': 'Polygon', 'coordinates': &#91;&#91;&#91;77.837451, 35.49401], &#91;78.912269, 34.321936], &#91;78.811086, 33.506198], &#91;79.208892, 32.994395], &#91;79.176129, 32.48378], &#91;78.458446, 32.618164], &#91;78.738894, 31.515906], &#91;79.721367, 30.882715], &#91;81.111256, 30.183481], &#91;80.476721, 29.729865], &#91;80.088425, 28.79447], &#91;81.057203, 28.416095], &#91;81.999987, 27.925479], &#91;83.304249, 27.364506], &#91;84.675018, 27.234901], &#91;85.251779, 26.726198], &#91;86.024393, 26.630985], &#91;87.227472, 26.397898], &#91;88.060238, 26.414615], &#91;88.174804, 26.810405], &#91;88.043133, 27.445819], &#91;88.120441, 27.876542], &#91;88.730326, 28.086865], &#91;88.814248, 27.299316], &#91;88.835643, 27.098966], &#91;89.744528, 26.719403], &#91;90.373275, 26.875724], &#91;91.217513, 26.808648], &#91;92.033484, 26.83831], &#91;92.103712, 27.452614], &#91;91.696657, 27.771742], &#91;92.503119, 27.896876], &#91;93.413348, 28.640629], &#91;94.56599, 29.277438], &#91;95.404802, 29.031717], &#91;96.117679, 29.452802], &#91;96.586591, 28.83098], &#91;96.248833, 28.411031], &#91;97.327114, 28.261583], &#91;97.402561, 27.882536], &#91;97.051989, 27.699059], &#91;97.133999, 27PS C:\\Users\\amitc> &amp; \"C:\/Program Files\/Python311\/python.exe\" c:\/xampp\/htdocs\/learning\/python\/cinfo.py\r\n{'name': 'India', 'altSpellings': &#91;'IN', 'Bh\u0101rat', 'Republic of India', 'Bharat Ganrajya'], 'area': 3287590, 'borders': &#91;'AFG', 'BGD', 'BTN', 'MMR', 'CHN', 'NPL', 'PAK', 'LKA'], 'callingCodes': &#91;'91'], 'capital': 'New Delhi', 'capital_latlng': &#91;28.614179, 77.202266], 'currencies': &#91;'INR'], 'demonym': 'Indian', 'flag': '', 'geoJSON': {'type': 'FeatureCollection', 'features': &#91;{'type': 'Feature', 'id': 'IND', 'properties': {'name': 'India'}, 'geometry': {'type': 'Polygon', 'coordinates': &#91;&#91;&#91;77.837451, 35.49401], &#91;78.912269, 34.321936], &#91;78.811086, 33.506198], &#91;79.208892, 32.994395], &#91;79.176129, 32.48378], &#91;78.458446, 32.618164], &#91;78.738894, 31.515906], &#91;79.721367, 30.882715], &#91;81.111256, 30.183481], &#91;80.476721, 29.729865], &#91;80.088425, 28.79447], &#91;81.057203, 28.416095], &#91;81.999987, 27.925479], &#91;83.304249, 27.364506], &#91;84.675018, 27.234901], &#91;85.251779, 26.726198], &#91;86.024393, 26.630985], &#91;87.227472, 26.397898], &#91;88.060238, 26.414615], &#91;88.174804, 26.810405], &#91;88.043133, 27.445819], &#91;88.120441, 27.876542], &#91;88.730326, 28.086865], &#91;88.814248, 27.299316], &#91;88.835643, 27.098966], &#91;89.744528, 26.719403], &#91;90.373275, 26.875724], &#91;91.217513, 26.808648], &#91;92.033484, 26.83831], &#91;92.103712, 27.452614], &#91;91.696657, 27.771742], &#91;92.503119, 27.896876], &#91;93.413348, 28.640629], &#91;94.56599, 29.277438], &#91;95.404802, 29.031717], &#91;96.117679, 29.452802], &#91;96.586591, 28.83098], &#91;96.248833, 28.411031], &#91;97.327114, 28.261583], &#91;97.402561, 27.882536], &#91;97.051989, 27.699059], &#91;97.133999, 27.083774], &#91;96.419366, 27.264589], &#91;95.124768, 26.573572], &#91;95.155153, 26.001307], &#91;94.603249, 25.162495], &#91;94.552658, 24.675238], &#91;94.106742, 23.850741], &#91;93.325188, 24.078556], &#91;93.286327, 23.043658], &#91;93.060294, 22.703111], &#91;93.166128, 22.27846], &#91;92.672721, 22.041239], &#91;92.146035, 23.627499], &#91;91.869928, 23.624346], &#91;91.706475, 22.985264], &#91;91.158963, 23.503527], &#91;91.46773, 24.072639], &#91;91.915093, 24.130414], &#91;92.376202, 24.976693], &#91;91.799596, 25.147432], &#91;90.872211, 25.132601], &#91;89.920693, 25.26975], &#91;89.832481, 25.965082], &#91;89.355094, 26.014407], &#91;88.563049, 26.446526], &#91;88.209789, 25.768066], &#91;88.931554, 25.238692], &#91;88.306373, 24.866079], &#91;88.084422, 24.501657], &#91;88.69994, 24.233715], &#91;88.52977, 23.631142], &#91;88.876312, 22.879146], &#91;89.031961, 22.055708], &#91;88.888766, 21.690588], &#91;88.208497, 21.703172], &#91;86.975704, 21.495562], &#91;87.033169, 20.743308], &#91;86.499351, 20.151638], &#91;85.060266, 19.478579], &#91;83.941006, 18.30201], &#91;83.189217, 17.671221], &#91;82.192792, 17.016636], &#91;82.191242, 16.556664], &#91;81.692719, 16.310219], &#91;80.791999, 15.951972], &#91;80.324896, 15.899185], &#91;80.025069, 15.136415], &#91;80.233274, 13.835771], &#91;80.286294, 13.006261], &#91;79.862547, 12.056215], &#91;79.857999, 10.357275], &#91;79.340512, 10.308854], &#91;78.885345, 9.546136], &#91;79.18972, 9.216544], &#91;78.277941, 8.933047], &#91;77.941165, 8.252959], &#91;77.539898, 7.965535], &#91;76.592979, 8.899276], &#91;76.130061, 10.29963], &#91;75.746467, 11.308251], &#91;75.396101, 11.781245], &#91;74.864816, 12.741936], &#91;74.616717, 13.992583], &#91;74.443859, 14.617222], &#91;73.534199, 15.990652], &#91;73.119909, 17.92857], &#91;72.820909, 19.208234], &#91;72.824475, 20.419503], &#91;72.630533, 21.356009], &#91;71.175273, 20.757441], &#91;70.470459, 20.877331], &#91;69.16413, 22.089298], &#91;69.644928, 22.450775], &#91;69.349597, 22.84318], &#91;68.176645, 23.691965], &#91;68.842599, 24.359134], &#91;71.04324, 24.356524], &#91;70.844699, 25.215102], &#91;70.282873, 25.722229], &#91;70.168927, 26.491872], &#91;69.514393, 26.940966], &#91;70.616496, 27.989196], &#91;71.777666, 27.91318], &#91;72.823752, 28.961592], &#91;73.450638, 29.976413], &#91;74.42138, 30.979815], &#91;74.405929, 31.692639], &#91;75.258642, 32.271105], &#91;74.451559, 32.7649], &#91;74.104294, 33.441473], &#91;73.749948, 34.317699], &#91;74.240203, 34.748887], &#91;75.757061, 34.504923], &#91;76.871722, 34.653544], &#91;77.837451, 35.49401]]]}}]}, 'ISO': {'alpha2': 'IN', 'alpha3': 'IND'}, 'languages': &#91;'hi', 'en'], 'latlng': &#91;20, 77], 'nativeName': '\u092d\u093e\u0930\u0924', 'population': 1263930000, 'provinces': &#91;'Andaman and Nicobar Islands', 'Andhra Pradesh', 'Arunachal Pradesh', 'Assam', 'Bihar', 'Chandigarh', 'Chhattisgarh', 'Dadra and Nagar Haveli', 'Daman and Diu', 'Delhi', 'Goa', 'Gujarat', 'Haryana', 'Himachal Pradesh', 'Jammu and Kashmir', \r\n'Jharkhand', 'Karnataka', 'Kerala', 'Lakshadweep', 'Madhya Pradesh', 'Maharashtra', 'Manipur', 'Meghalaya', 'Mizoram', 'Nagaland', 'Odisha', 'Puducherry', 'Punjab', \r\n'Rajasthan', 'Sikkim', 'Tamil Nadu', 'Telangana', 'Tripura', 'Uttar Pradesh', 'Uttarakhand', 'West Bengal'], 'region': 'Asia', 'subregion': 'Southern Asia', 'timezones': &#91;'UTC+05:30'], 'tld': &#91;'.in'], 'translations': {'de': 'Indien', 'es': 'India', 'fr': 'Inde', 'ja': '\u30a4\u30f3\u30c9', 'it': 'India'}, 'wiki': 'http:\/\/en.wikipedia.org\/wiki\/india'}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"533\" src=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-10-1024x533.png\" alt=\"\" class=\"wp-image-596\" srcset=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-10-1024x533.png 1024w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-10-300x156.png 300w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-10-768x400.png 768w, https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-10.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now working successfully thanks for reading \ud83d\ude4f\ud83d\ude4f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial I\u2019m going to learn how to check any country information using python. So follow this tutorial in this tutorial I have mentioned in very&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[232],"tags":[239,240,242,241],"class_list":["post-594","post","type-post","status-publish","format-standard","hentry","category-python","tag-how-to-run-python","tag-python-country-information","tag-python-info","tag-python-library"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to check any country Information using Python ? - DevOps Freelancer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to check any country Information using Python ? - DevOps Freelancer\" \/>\n<meta property=\"og:description\" content=\"In this tutorial I\u2019m going to learn how to check any country information using python. So follow this tutorial in this tutorial I have mentioned in very...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps Freelancer\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/amitsthakurs\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-06T11:12:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-06T11:12:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png\" \/>\n<meta name=\"author\" content=\"Amit Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/amits_thakurs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amit Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/\"},\"author\":{\"name\":\"Amit Kumar\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/#\\\/schema\\\/person\\\/22ed4bd82dc04200a2ca541b3e35fc5b\"},\"headline\":\"How to check any country Information using Python ?\",\"datePublished\":\"2023-07-06T11:12:30+00:00\",\"dateModified\":\"2023-07-06T11:12:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/\"},\"wordCount\":64,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-9.png\",\"keywords\":[\"how-to-run-python\",\"python-country-information\",\"python-info\",\"python-library\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/\",\"url\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/\",\"name\":\"How to check any country Information using Python ? - DevOps Freelancer\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-9.png\",\"datePublished\":\"2023-07-06T11:12:30+00:00\",\"dateModified\":\"2023-07-06T11:12:32+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/#\\\/schema\\\/person\\\/22ed4bd82dc04200a2ca541b3e35fc5b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-9.png\",\"contentUrl\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-9.png\",\"width\":1024,\"height\":408},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/how-to-check-any-country-information-using-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to check any country Information using Python ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/\",\"name\":\"DevOps Freelancer\",\"description\":\"We provide DevOps | SRE | DevSecOps | MLOps Freelancing\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/#\\\/schema\\\/person\\\/22ed4bd82dc04200a2ca541b3e35fc5b\",\"name\":\"Amit Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g\",\"caption\":\"Amit Kumar\"},\"description\":\"Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer\\\/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/amitsthakurs\\\/\",\"https:\\\/\\\/www.instagram.com\\\/amits_thakurs\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/amits-thakurs\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/amits_thakurs\"],\"url\":\"https:\\\/\\\/www.devopsfreelancer.com\\\/blog\\\/author\\\/amit\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to check any country Information using Python ? - DevOps Freelancer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/","og_locale":"en_US","og_type":"article","og_title":"How to check any country Information using Python ? - DevOps Freelancer","og_description":"In this tutorial I\u2019m going to learn how to check any country information using python. So follow this tutorial in this tutorial I have mentioned in very...","og_url":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/","og_site_name":"DevOps Freelancer","article_author":"https:\/\/www.facebook.com\/amitsthakurs\/","article_published_time":"2023-07-06T11:12:30+00:00","article_modified_time":"2023-07-06T11:12:32+00:00","og_image":[{"url":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png","type":"","width":"","height":""}],"author":"Amit Kumar","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/amits_thakurs","twitter_misc":{"Written by":"Amit Kumar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#article","isPartOf":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/"},"author":{"name":"Amit Kumar","@id":"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b"},"headline":"How to check any country Information using Python ?","datePublished":"2023-07-06T11:12:30+00:00","dateModified":"2023-07-06T11:12:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/"},"wordCount":64,"commentCount":1,"image":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png","keywords":["how-to-run-python","python-country-information","python-info","python-library"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/","url":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/","name":"How to check any country Information using Python ? - DevOps Freelancer","isPartOf":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#primaryimage"},"image":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png","datePublished":"2023-07-06T11:12:30+00:00","dateModified":"2023-07-06T11:12:32+00:00","author":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b"},"breadcrumb":{"@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#primaryimage","url":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png","contentUrl":"https:\/\/www.devopsfreelancer.com\/blog\/wp-content\/uploads\/2023\/07\/image-9.png","width":1024,"height":408},{"@type":"BreadcrumbList","@id":"https:\/\/www.devopsfreelancer.com\/blog\/how-to-check-any-country-information-using-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.devopsfreelancer.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to check any country Information using Python ?"}]},{"@type":"WebSite","@id":"https:\/\/www.devopsfreelancer.com\/blog\/#website","url":"https:\/\/www.devopsfreelancer.com\/blog\/","name":"DevOps Freelancer","description":"We provide DevOps | SRE | DevSecOps | MLOps Freelancing","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopsfreelancer.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopsfreelancer.com\/blog\/#\/schema\/person\/22ed4bd82dc04200a2ca541b3e35fc5b","name":"Amit Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d76fb4d0f15f7a458f1fd91063b44fbb7e7eb9e724b1c465d885054c2540250f?s=96&d=mm&r=g","caption":"Amit Kumar"},"description":"Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer\/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.","sameAs":["https:\/\/www.facebook.com\/amitsthakurs\/","https:\/\/www.instagram.com\/amits_thakurs\/","https:\/\/www.linkedin.com\/in\/amits-thakurs\/","https:\/\/x.com\/https:\/\/twitter.com\/amits_thakurs"],"url":"https:\/\/www.devopsfreelancer.com\/blog\/author\/amit\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/comments?post=594"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/594\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/posts\/594\/revisions\/597"}],"wp:attachment":[{"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/media?parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/categories?post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsfreelancer.com\/blog\/wp-json\/wp\/v2\/tags?post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}