{"id":12862,"date":"2021-01-05T00:00:45","date_gmt":"2021-01-05T08:00:45","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=12862"},"modified":"2023-12-01T04:06:30","modified_gmt":"2023-12-01T12:06:30","slug":"python-ord","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-ord\/","title":{"rendered":"Python Ord: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>The Python ord() method converts a character into its Unicode code. The ord() method takes one argument: a string containing a single Unicode character. This method returns an integer that represents that character in Unicode.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>You may encounter a situation where you need to convert a character into its corresponding Unicode code. For example, you may be creating a profile update form in Python that needs to check each string for emojis and other special characters. These characters are not allowed to be used in the form.<\/p>\n\n\n\n<p>Python has a built-in function that cconvertsa character into an integer that represents the Unicode code of the character: <em>ord()<\/em>.<\/p>\n\n\n\n<p>In this tutorial, we are going to discuss how to use the Python <em>ord()<\/em> method to convert a character into its Unicode code. We will also explore a few examples of the <em>ord()<\/em> method being used in a Python program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Unicode Refresher<\/h2>\n\n\n\n<p>Computers, on a fundamental level, deal with numbers. Letters that appear on computers are stored by computers as a list of numbers.<\/p>\n\n\n\n<p>In the past, there were hundreds of different ways that characters could be stored. Often, these methods did not contain enough characters to cover international languages or special characters.<\/p>\n\n\n\n<p>This all changed In 1991. In this year, an organization called the Unicode Consortium published a standardized specification for how characters could be represented with computers.<\/p>\n\n\n\n<p>The Unicode Standard provides a unique number for every character and supports multiple languages, and all special characters. Today, it has been adopted by all modern software providers. In addition, the Python language uses Unicode to represent strings in the programming language.<\/p>\n\n\n\n<p>Unicode assigns each character that can be represented on a computer \u2014 including symbols, spaces, and emojis \u2014 with a unique code. This code makes it easy for computers to understand the text it is reading.<\/p>\n\n\n\n<p>For example, here are the Unicode values for lowercase characters <em>a<\/em> through <em>e<\/em> in the <em>Basic Latin<\/em> alphabet:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>97\n98\n99\n100\n101<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Python Ord()<\/h2>\n\n\n\n<p>The Python <em>ord()<\/em> method returns the Unicode code of a specific character. This value is represented as a number. You can only use the ord() method on a single character at one time.<\/p>\n\n\n\n<p>For example, say you want to check if each character in a string includes a special character. You could use <em>ord()<\/em> to do this.<\/p>\n\n\n\n<p>The Python <em>ord()<\/em> function accepts one argument: the character whose Unicode code value you want to retrieve. The function returns an integer representing the Unicode code value of the character you have passed into the function.<\/p>\n\n\n\n<p>Here\u2019s the syntax for the ord() method:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ord(character)<\/pre><\/div>\n\n\n\n<p><em>ord()<\/em> only accepts one character. If you want to run <em>ord()<\/em> on multiple characters, you will need to retrieve each individual character from a string and use <em>ord()<\/em>.<\/p>\n\n\n\n<p>ord() is the opposite of the chr() method. Whereas chr() returns the character correlated with a Unicode value, ord() returns the Unicode value of a particular character.<\/p>\n\n\n\n<p>It is worth noting that ord() works with all Unicode characters, not just numbers and letters. You can use symbols with this method, for instance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ord Python Examples<\/h2>\n\n\n\n<p>Let\u2019s use a few examples to show how <em>ord()<\/em> can be used in Python.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ord() Python Example: One Character<\/h3>\n\n\n\n<p>Say that we are creating a reference application that makes it easy for high school computer science students to learn Unicode. Our program takes in one character and returns the Unicode code value of that character. Here\u2019s the code we could use to make such a program:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>character = input(&quot;The character you want to convert to Unicode&quot;)\n\nunicode_value = ord(character)\n\nprint(&quot;The Unicode value of the character&quot;, character, &quot;is&quot;, str(unicode_value))<\/pre><\/div>\n\n\n\n<p>When we run our code and insert the value <em>K<\/em> (uppercase) whose Unicode code point we want to retrieve, we receive the following output:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>What character do you want to convert to Unicode?\nK\nThe Unicode value of the character K is 75.<\/pre><\/div>\n\n\n\n<p>On the first line of code, we use the <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">Python <em>input()<\/em> function<\/a> to request a character to convert into its Unicode code value. Then, on the next line, we use <em>ord()<\/em> to convert the user\u2019s input into its Unicode object value.<\/p>\n\n\n\n<p>We print out a statement that tells the user the Unicode value of the character they have inserted into the program. In this case, the character\u2019s code point is 75, which is returned by our program.<\/p>\n\n\n\n<p>Unicode, as discussed earlier, includes numbers for every character. So, if we were to use <em>ord()<\/em> on the left square bracket character (<em>[<\/em>), for example, our code would return:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>What character do you want to convert to Unicode?\nThe Unicode value of the character [ is 91.<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">ord() Python Example: Multiple Characters<\/h3>\n\n\n\n<p>The <em>ord()<\/em> method only takes in one character at a time. Here\u2019s what happens if you pass two characters through the <em>ord()<\/em> method:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(ord(&quot;AB&quot;))<\/pre><\/div>\n\n\n\n<p>Our code returns: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>TypeError: ord() expected a character, but string of length 2 found<\/pre><\/div>\n\n\n\n<p>If you want to check the Unicode value of all characters within a longer string, you\u2019ll need to split up your string.<\/p>\n\n\n\n<p>Let\u2019s say that we are creating a program that checks if a user\u2019s name contains a special character. This program first needs the Unicode value of each character in the string. \\<\/p>\n\n\n\n<p>We could use a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">Python <em>for<\/em> loop<\/a> to iterate through each character in our string and get the character\u2019s Unicode code. Here\u2019s the code we could use:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>user_name = &quot;John&quot;\n\nfor char in range(0, len(user_name)):\n\tprint(ord(user_name[char]))<\/pre><\/div>\n\n\n\n<p>Our code returns:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>74\n111\n104\n110<\/pre><\/div>\n\n\n\n<p>Let\u2019s elaborate. First, we declare a <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">Python variable<\/a> called <em>user_name<\/em> which stores the name of our user. Then, we create a <em>for<\/em> loop that iterates through every letter in the <em>user_name<\/em> string.<\/p>\n\n\n\n<p>Our program uses <em>ord()<\/em> to get the Unicode code value of each character in our string, and prints out that value.<\/p>\n\n\n\n<p>As you can see, our program has retrieved the Unicode code values for each character in our string and printed them to the console.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The <em>ord()<\/em> method in Python converts a character into its Unicode code value. This method accepts a single character. You will receive the numerical Unicode value of the character as a response.<\/p>\n\n\n\n<p>The ord() method is useful if you want to check whether a string contains special characters. This is because each character has a specific Unicode value. You can use these values to compare whether a particular character is alphanumerical or whether it is a special chracter.<\/p>\n\n\n\n<p>Are you interested in learning more about Python? Check out our <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-python\/\">How to Learn Python guide<\/a>. You&#8217;ll find actionable advice on how to learn Python in this guide so you can chart your path to becoming a Python master.<\/p>\n","protected":false},"excerpt":{"rendered":"The Python ord() method converts a character into its Unicode code. The ord() method takes one argument: a string containing a single Unicode character. This method returns an integer that represents that character in Unicode. You may encounter a situation where you need to convert a character into its corresponding Unicode code. For example, you&hellip;","protected":false},"author":240,"featured_media":12876,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-12862","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python Ord: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python ord method retrieves the Unicode code associated with a particular character. Learn how ord works on Career Karma.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-ord\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Ord: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"The Python ord method retrieves the Unicode code associated with a particular character. Learn how ord works on Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-ord\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-05T08:00:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:06:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python Ord: A Step-By-Step Guide\",\"datePublished\":\"2021-01-05T08:00:45+00:00\",\"dateModified\":\"2023-12-01T12:06:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/\"},\"wordCount\":1027,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-ord\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-ord\/\",\"name\":\"Python Ord: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg\",\"datePublished\":\"2021-01-05T08:00:45+00:00\",\"dateModified\":\"2023-12-01T12:06:30+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python ord method retrieves the Unicode code associated with a particular character. Learn how ord works on Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-ord\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg\",\"width\":1000,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-ord\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python Ord: A Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python Ord: A Step-By-Step Guide | Career Karma","description":"The Python ord method retrieves the Unicode code associated with a particular character. Learn how ord works on Career Karma.","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:\/\/careerkarma.com\/blog\/python-ord\/","og_locale":"en_US","og_type":"article","og_title":"Python Ord: A Step-By-Step Guide","og_description":"The Python ord method retrieves the Unicode code associated with a particular character. Learn how ord works on Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/python-ord\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2021-01-05T08:00:45+00:00","article_modified_time":"2023-12-01T12:06:30+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-ord\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python Ord: A Step-By-Step Guide","datePublished":"2021-01-05T08:00:45+00:00","dateModified":"2023-12-01T12:06:30+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-ord\/"},"wordCount":1027,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-ord\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-ord\/","url":"https:\/\/careerkarma.com\/blog\/python-ord\/","name":"Python Ord: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg","datePublished":"2021-01-05T08:00:45+00:00","dateModified":"2023-12-01T12:06:30+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python ord method retrieves the Unicode code associated with a particular character. Learn how ord works on Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-ord\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/wood-desk-laptop-notebook-225767.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-ord\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python Ord: A Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=12862"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12862\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/12876"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=12862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=12862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=12862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}