{"id":21789,"date":"2020-08-27T10:16:13","date_gmt":"2020-08-27T17:16:13","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21789"},"modified":"2023-12-01T03:58:53","modified_gmt":"2023-12-01T11:58:53","slug":"python-typeerror-list-object-is-not-callable","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/","title":{"rendered":"Python typeerror: \u2018list\u2019 object is not callable Solution"},"content":{"rendered":"\n<p>When you try to access items in a list using curly brackets ( () ), Python returns an error. This is because Python thinks that you are trying to call a function.<br><\/p>\n\n\n\n<p>In this guide, we talk about the Python \u201ctypeerror: \u2018list\u2019 object is not callable\u201d error and why it is raised. We\u2019ll walk through an example scenario to help you learn how to fix this error. Let\u2019s begin!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Problem: typeerror: \u2018list\u2019 object is not callable<\/h2>\n\n\n\n<p>Python already tells us all we need to know in this error:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>typeerror: 'list' object is not callable<\/pre><\/div>\n\n\n\n<p>Take a look at the error type: TypeError. This is one of the most common types of Python errors. It tells us we\u2019re trying to manipulate a value using a method not available to the type of data in which the value is stored.<br><\/p>\n\n\n\n<p>Our error message tells us that we\u2019re trying to call a <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">Python list object<\/a>. This means we are treating it like a function rather than as a list.<br><\/p>\n\n\n\n<p>This error is raised when you use curly brackets to <a href=\"https:\/\/careerkarma.com\/blog\/python-list-methods\/\">access items in a list<\/a>. Consider the following list of scones:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>scones = [&quot;Cherry&quot;, &quot;Apple and Cinnamon&quot;, &quot;Plain&quot;, &quot;Cheese&quot;]<\/pre><\/div>\n\n\n\n<p>To access items in this list, we must state the index number of the value we want to access enclosed by square brackets:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(scones[0])<\/pre><\/div>\n\n\n\n<p>This returns: Cherry. 0 is the position of the first item in our list, \u201cCherry\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We\u2019re going to build a Python program that capitalizes a list of names. We must capitalize the first letters of these names because they are going to be printed out on name cards.<br><\/p>\n\n\n\n<p>Start by declaring a list of names:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>names = [&quot;Peter Geoffrey&quot;, &quot;Dakota Williams&quot;, &quot;Rebecca Lee&quot;]<\/pre><\/div>\n\n\n\n<p>Next, create a for loop that iterates through this list of names. We\u2019ll convert each name to upper case and replace the lowercase name with the uppercase name in the list:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for n in range(len(names)):\n\tnames[n] = names(n).upper()\n\tprint(names(n))\n\nprint(names)<\/pre><\/div>\n\n\n\n<p>Use the <a href=\"https:\/\/careerkarma.com\/blog\/python-range\/\">range()<\/a> method to iterate through every item in the \u201cnames\u201d list. Then use the assignment operator to change the value of each name to its uppercase equivalent. The Python <a href=\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\">upper()<\/a> method converts each name to uppercase.<br><\/p>\n\n\n\n<p>Next, print out the new name to the console. Once our loop has run, print out the whole revised list to the console.<br><\/p>\n\n\n\n<p>Let\u2019s run our code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Traceback (most recent call last):\n  File &quot;main.py&quot;, line 4, in &lt;module&gt;\n\tnames[n] = names(n).upper()\nTypeError: 'list' object is not callable<\/pre><\/div>\n\n\n\n<p>We\u2019ve received an error, as expected. Let\u2019s solve this problem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>Use square brackets to access items in a list. Curly brackets are used to call <a href=\"https:\/\/careerkarma.com\/blog\/python-functions\/\">functions in Python<\/a>. The problem in our code is that we\u2019re trying to call a list as a function because we\u2019re using curly brackets to access items in our list.<br><\/p>\n\n\n\n<p>In our code, use curly brackets to access a list item in two places:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for n in range(len(names)):\nnames[n] = names(n).upper()\nprint(names(n))<\/pre><\/div>\n\n\n\n<p>We must swap the names(n) code to use square brackets:&nbsp;<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for n in range(len(names)):\nnames[n] = names[n].upper()\nprint(names[n])<\/pre><\/div>\n\n\n\n<p>This tells Python we want to access the item at the index position \u201cn\u201d in the list \u201cnames\u201d.<br><\/p>\n\n\n\n<p>Run our code with the applicable revisions we just discussed:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>PETER GEOFFREY\nDAKOTA WILLIAMS\nREBECCA LEE\n\n['PETER GEOFFREY', 'DAKOTA WILLIAMS', 'REBECCA LEE']<\/pre><\/div>\n\n\n\n<p>This time, a successful response returns. Every name is converted into capital letters.<br><\/p>\n\n\n\n<p>The version of a name in capital letters replaces the sentence-case version of the name. Then, we print out each name to the console. When our program is done, we print out a list of all the names in \u201cnames\u201d to check that they have been changed in our list.<br><\/p>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"0\" width=\"100%\" height=\"400px\" src=\"https:\/\/repl.it\/@careerkarma\/list-object-is-not-callable?lite=true\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The Python \u201ctypeerror: \u2018list\u2019 object is not callable\u201d error is raised when you try to access a list as if it were a function. To solve this error, make sure square brackets are used to access or change values in a list rather than curly brackets.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to fix this error in your code like a <a href=\"https:\/\/careerkarma.com\/blog\/what-python-is-used-for\/\">professional Python developer<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"When you try to access items in a list using curly brackets ( () ), Python returns an error. This is because Python thinks that you are trying to call a function. In this guide, we talk about the Python \u201ctypeerror: \u2018list\u2019 object is not callable\u201d error and why it is raised. We\u2019ll walk through&hellip;","protected":false},"author":240,"featured_media":21790,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21789","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python typeerror: \u2018list\u2019 object is not callable Solution | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python typeerror: \u2018list\u2019 object is not callable error, how the error works, and how to solve the error.\" \/>\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-typeerror-list-object-is-not-callable\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python typeerror: \u2018list\u2019 object is not callable Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python typeerror: \u2018list\u2019 object is not callable error, how the error works, and how to solve the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/\" \/>\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=\"2020-08-27T17:16:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:58:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python typeerror: \u2018list\u2019 object is not callable Solution\",\"datePublished\":\"2020-08-27T17:16:13+00:00\",\"dateModified\":\"2023-12-01T11:58:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/\"},\"wordCount\":611,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/\",\"name\":\"Python typeerror: \u2018list\u2019 object is not callable Solution | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg\",\"datePublished\":\"2020-08-27T17:16:13+00:00\",\"dateModified\":\"2023-12-01T11:58:53+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python typeerror: \u2018list\u2019 object is not callable error, how the error works, and how to solve the error.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-typeerror-list-object-is-not-callable\\\/#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 typeerror: \u2018list\u2019 object is not callable Solution\"}]},{\"@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\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"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 typeerror: \u2018list\u2019 object is not callable Solution | Career Karma","description":"On Career Karma, learn about the Python typeerror: \u2018list\u2019 object is not callable error, how the error works, and how to solve the error.","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-typeerror-list-object-is-not-callable\/","og_locale":"en_US","og_type":"article","og_title":"Python typeerror: \u2018list\u2019 object is not callable Solution","og_description":"On Career Karma, learn about the Python typeerror: \u2018list\u2019 object is not callable error, how the error works, and how to solve the error.","og_url":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-27T17:16:13+00:00","article_modified_time":"2023-12-01T11:58:53+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/neal-e-johnson-7zwIFmOxGwI-unsplash.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python typeerror: \u2018list\u2019 object is not callable Solution","datePublished":"2020-08-27T17:16:13+00:00","dateModified":"2023-12-01T11:58:53+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/"},"wordCount":611,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/","url":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/","name":"Python typeerror: \u2018list\u2019 object is not callable Solution | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg","datePublished":"2020-08-27T17:16:13+00:00","dateModified":"2023-12-01T11:58:53+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python typeerror: \u2018list\u2019 object is not callable error, how the error works, and how to solve the error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/neal-e-johnson-7zwIFmOxGwI-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-is-not-callable\/#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 typeerror: \u2018list\u2019 object is not callable Solution"}]},{"@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\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","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\/21789","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=21789"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21789\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21790"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}