{"id":21627,"date":"2020-08-25T17:09:03","date_gmt":"2020-08-26T00:09:03","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21627"},"modified":"2023-12-01T03:58:51","modified_gmt":"2023-12-01T11:58:51","slug":"python-builtin-function-or-method-is-not-subscriptable","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/","title":{"rendered":"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable Solution"},"content":{"rendered":"\n<p>To call a built-in function, you need to use parentheses. Parentheses distinguish function calls from other operations that can be performed on some objects, like indexing.<br><\/p>\n\n\n\n<p>If you try to use square brackets to call a built-in function, you\u2019ll encounter the \u201cTypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable\u201d error.&nbsp;<br><\/p>\n\n\n\n<p>In this guide, we talk about what this error means and why you may encounter it. We\u2019ll walk through an example so that you can figure out how to solve the error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable<\/h2>\n\n\n\n<p>Only iterable objects are subscriptable. Examples of iterable objects include <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">lists<\/a>, <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">strings<\/a>, and dictionaries. Individual values in these objects can be accessed using indexing. This is because items within an iterable object have <a href=\"https:\/\/careerkarma.com\/blog\/python-index\/\">index values<\/a>.<br><\/p>\n\n\n\n<p>Consider the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>languages = [&quot;English&quot;, &quot;French&quot;]\nprint(languages[0])<\/pre><\/div>\n\n\n\n<p>Our code returns \u201cEnglish\u201d. Our code retrieves the first item in our list, which is the item at index position 0. Our list is subscriptable so we can access it using square brackets.<br><\/p>\n\n\n\n<p>Built-in functions are not subscriptable. This is because they do not return a list of objects that can be accessed using indexing.<br><\/p>\n\n\n\n<p>The \u201cTypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable\u201d error occurs when you try to access a built-in function using square brackets. This is because when the Python interpreter sees square brackets it tries to access items from a value as if that value is iterable.<\/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 program that appends all of the records from a list of homeware goods to another list. An item should only be added to the next list if that item is in stock.<br><\/p>\n\n\n\n<p>Start by defining a list of homeware goods and a list to store those that are in stock:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>homewares = [\n\t{ &quot;name&quot;: &quot;Gray Lampshade&quot;, &quot;in_stock&quot;: True },\n\t{ &quot;name&quot;: &quot;Black Wardrobe&quot;, &quot;in_stock&quot;: True },\n{ &quot;name&quot;: &quot;Black Bedside Cabinet&quot;, &quot;in_stock&quot;: False }\n]\nin_stock = []<\/pre><\/div>\n\n\n\n<p>The \u201cin_stock\u201d list is presently empty. This is because we have not yet calculated which items in stock should be added to the list.<br><\/p>\n\n\n\n<p>Next, we use a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">for loop<\/a> to find items in the \u201chomewares\u201d list that are in stock. We\u2019ll add those items to the \u201cin_stock\u201d list:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for h in homewares:\n\tif h[&quot;in_stock&quot;] == True:\n\t\tin_stock.append[h]\n\nprint(in_stock)<\/pre><\/div>\n\n\n\n<p>We use the <a href=\"https:\/\/careerkarma.com\/blog\/python-append-to-list\/\">append() method<\/a> to add a record to the \u201cin_stock\u201d list if that item is in stock. Otherwise, our program does not add a record to the \u201cin_stock\u201d list. Our program then prints out all of the objects in the \u201cin_stock\u201d list.<br><\/p>\n\n\n\n<p>Let\u2019s run our code and see what happens:<\/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 10, in &lt;module&gt;\n\tin_stock.append[h]\nTypeError: 'builtin_function_or_method' object is not subscriptable<\/pre><\/div>\n\n\n\n<p>Our code returns an error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>Take a look at the line of code that Python points to in the error:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\tin_stock.append[h]<\/pre><\/div>\n\n\n\n<p>We\u2019ve tried to use indexing syntax to add an item to our \u201cin_stock\u201d list <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">variable<\/a>. This is incorrect because functions are not iterable objects. To call a function, we need to use parenthesis.<br><\/p>\n\n\n\n<p>We fix this problem by replacing the square brackets with parentheses:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\tin_stock.append(h)<\/pre><\/div>\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>[{'name': 'Gray Lampshade', 'in_stock': True}, {'name': 'Black Wardrobe', 'in_stock': True}]<\/pre><\/div>\n\n\n\n<p>Our code successfully calculates the items in stock. Those items are added to the \u201cin_stock\u201d list which is printed to the console.<\/p>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"0\" width=\"100%\" height=\"400px\" src=\"https:\/\/repl.it\/@careerkarma\/builtinfunctionormethod-object-is-not-subscriptable?lite=true\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201cTypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable\u201d error is raised when you try to use square brackets to call a function.<br><\/p>\n\n\n\n<p>This error is raised because Python interprets square brackets as a way of accessing items from an iterable object. Functions must be called using parenthesis. To fix this problem, make sure you call a function using parenthesis.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to solve this common Python error like an expert!<\/p>\n","protected":false},"excerpt":{"rendered":"To call a built-in function, you need to use parentheses. Parentheses distinguish function calls from other operations that can be performed on some objects, like indexing. If you try to use square brackets to call a built-in function, you\u2019ll encounter the \u201cTypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable\u201d error.&nbsp; In this guide, we talk about what&hellip;","protected":false},"author":240,"featured_media":21628,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21627","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: \u2018builtin_function_or_method\u2019 object is not subscriptable<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable 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-builtin-function-or-method-is-not-subscriptable\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable error, how the error works, and how to solve the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/\" \/>\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-26T00:09:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:58:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/alejandro-escamilla-yC-Yzbqy7PY-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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable Solution\",\"datePublished\":\"2020-08-26T00:09:03+00:00\",\"dateModified\":\"2023-12-01T11:58:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/\"},\"wordCount\":584,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/\",\"name\":\"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg\",\"datePublished\":\"2020-08-26T00:09:03+00:00\",\"dateModified\":\"2023-12-01T11:58:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable error, how the error works, and how to solve the error.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-builtin-function-or-method-is-not-subscriptable\\\/#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: \u2018builtin_function_or_method\u2019 object is not subscriptable 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: \u2018builtin_function_or_method\u2019 object is not subscriptable","description":"On Career Karma, learn about the Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable 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-builtin-function-or-method-is-not-subscriptable\/","og_locale":"en_US","og_type":"article","og_title":"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable Solution","og_description":"On Career Karma, learn about the Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable error, how the error works, and how to solve the error.","og_url":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-26T00:09:03+00:00","article_modified_time":"2023-12-01T11:58:51+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/alejandro-escamilla-yC-Yzbqy7PY-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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable Solution","datePublished":"2020-08-26T00:09:03+00:00","dateModified":"2023-12-01T11:58:51+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/"},"wordCount":584,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/","url":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/","name":"Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg","datePublished":"2020-08-26T00:09:03+00:00","dateModified":"2023-12-01T11:58:51+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python TypeError: \u2018builtin_function_or_method\u2019 object is not subscriptable error, how the error works, and how to solve the error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/alejandro-escamilla-yC-Yzbqy7PY-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-builtin-function-or-method-is-not-subscriptable\/#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: \u2018builtin_function_or_method\u2019 object is not subscriptable 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\/21627","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=21627"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21627\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21628"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}