{"id":29378,"date":"2021-02-26T10:04:47","date_gmt":"2021-02-26T18:04:47","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=29378"},"modified":"2023-12-01T04:09:00","modified_gmt":"2023-12-01T12:09:00","slug":"python-copy-file","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-copy-file\/","title":{"rendered":"Python Copy File: A How to Guide"},"content":{"rendered":"\n<p>You may need to copy a file in a number of programs. Imagine if you wanted to build a logging function for your program that begins with a predefined set of text. You could create a copy of an existing blank log file for each log that you want to create.<br><\/p>\n\n\n\n<p>The Python shutil library comes with a number of functions for copying files. In this guide, we talk about how to use the <code>shutil.copy()<\/code> and the <code>shutil.copy2()<\/code> methods to copy a file using the Python programming language. Let\u2019s begin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python Copy File<\/h2>\n\n\n\n<p>The Python shutil library, which allows you to manipulate files and directories, contains methods for copying files. The <code>copy()<\/code> and <code>copy2()<\/code> methods are commonly used because they let you copy the permissions associated with an existing file.<br><\/p>\n\n\n\n<p>The difference between <code>copy()<\/code> and <code>copy2()<\/code> is that the former does not copy the metadata associated with files (the pieces of information about a file, like who created the file) whereas the latter does copy this information.<br><\/p>\n\n\n\n<p>Let\u2019s discuss how to use each of these two methods.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python shutil.copy()<\/h2>\n\n\n\n<p>Let\u2019s build a program that generates report cards for each student at a school. To start, we want to create files for each student in our class. The files should begin with:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>--------------------------------------------------\nCareer Karma School Report Card\n--------------------------------------------------\nSTART OF STUDENT TRANSCRIPT\n--------------------------------------------------<\/pre><\/div>\n\n\n\n<p>This information is already in a file called template.txt. We want to copy this template to create a file for each student in our school. To start, let\u2019s import the shutil library which we will use to copy our files and then define a list of students:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>import shutil\n\nstudents = [&quot;Lucy&quot;, &quot;Peter&quot;, &quot;Chad&quot;]<\/pre><\/div>\n\n\n\n<p>We\u2019re going to iterate over this list and create a blank transcript for each student:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for s in students:\n\tshutil.copy(&quot;\/home\/james\/students\/template.txt&quot;, &quot;\/home\/james\/students\/data\/{}.txt&quot;.format(s))\n\tprint(&quot;{}.txt has been created for {}'s report card.&quot;.format(s, s))<\/pre><\/div>\n\n\n\n<p>This loop runs through every student in our list. We copy the template.txt file and paste that file into the \/home\/james\/students\/data\/ for each student. The file for each student has the name:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>[Student name].txt<\/pre><\/div>\n\n\n\n<p>The [Student name] value represents the name of a student.<br><\/p>\n\n\n\n<p>Let\u2019s run our program and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Lucy.txt has been created for Lucy's report card.\nPeter.txt has been created for Peter's report card.\nChad.txt has been created for Chad's report card.<\/pre><\/div>\n\n\n\n<p>Our code displays three messages which indicate each student\u2019s report card has been created.<br><\/p>\n\n\n\n<p>If we look at the \/home\/james\/students\/data\/ folder, we can see three files:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Lucy.txt has been created for Lucy's report card.\nPeter.txt has been created for Peter's report card.\nChad.txt has been created for Chad's report card.<\/pre><\/div>\n\n\n\n<p>Each file contains the text from our earlier template.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python shutil.copy2() Method<\/h2>\n\n\n\n<p>The <code>shutil.copy2()<\/code> method copies a file from one place to another on your operating system. This method, unlike <code>shutil.copy()<\/code>, also copies the metadata associated with a file. <code>shutil.copy2()<\/code> uses the same syntax as the <code>shutil.copy()<\/code> method.<br><\/p>\n\n\n\n<p>Suppose we want to create a progress certificate for someone playing a game. This certificate should begin with the following text:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>RPG: User score card\nProduced by the RPG Python game<\/pre><\/div>\n\n\n\n<p>This text is already in the file default_scorecard.txt. We could copy the default_scorecard.txt file using the <code>copy2()<\/code> method in the shutil library:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>import shutil\n\nshutil.copy(&quot;\/home\/james\/game\/default_scorecard.txt&quot;. &quot;\/home\/james\/game\/recent_scores.txt&quot;)\n\nprint(&quot;Your progress has been recorded in the recent_scores.txt file.&quot;)<\/pre><\/div>\n\n\n\n<p>We import the shutil library and then we use the <code>shutil.copy2()<\/code> method to create a copy of the default_scorecard.txt file. We then print a message to the console informing us that the original file has been copied into the recent_scores.txt file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other Methods<\/h2>\n\n\n\n<p>You can also use the <code>copyfile()<\/code> and <code>copyfileobj()<\/code> methods in the shutil library.<br><\/p>\n\n\n\n<p>Both of these methods use the same syntax as the two methods we discussed earlier:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>shutil.copyfile(source, destination)\nshutil.copyfileobj(source, destination)<\/pre><\/div>\n\n\n\n<p>The <code>copyfile()<\/code> method lets you copy a file from one location to another. You can also instruct Python to create a symlink between the new and the old file. The <code>copyfileobj()<\/code> method lets you copy a file and specify how the data is read in chunks.<br><\/p>\n\n\n\n<p>You can learn more about these methods by reading the <a href=\"https:\/\/docs.python.org\/3\/library\/shutil.html\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">Python shutil documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The Python <code>shutil.copy()<\/code> and <code>shutil.copy2()<\/code> methods allow you to copy a file to another location. These methods copy permissions attached to an existing file. You can also use the <code>copyfile()<\/code> and <code>copyfileobj()<\/code> methods in the shutil library to copy a file.<br><\/p>\n\n\n\n<p>Do you want to learn more about coding in Python? Read our <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-python\/\">How to Learn Python guide<\/a>. This guide comes with a range of tips to help you learn Python coding. You will also find learning resources to guide your learning.<\/p>\n","protected":false},"excerpt":{"rendered":"You may need to copy a file in a number of programs. Imagine if you wanted to build a logging function for your program that begins with a predefined set of text. You could create a copy of an existing blank log file for each log that you want to create. The Python shutil library&hellip;","protected":false},"author":240,"featured_media":17678,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-29378","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 Copy File: A How-To Guide<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn how to copy a file in Python using the shutil.copy() and shutil.copy2() methods.\" \/>\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-copy-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Copy File: A How to Guide\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn how to copy a file in Python using the shutil.copy() and shutil.copy2() methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-copy-file\/\" \/>\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-02-26T18:04:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:09:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"663\" \/>\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-copy-file\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python Copy File: A How to Guide\",\"datePublished\":\"2021-02-26T18:04:47+00:00\",\"dateModified\":\"2023-12-01T12:09:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/\"},\"wordCount\":665,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/\",\"name\":\"Python Copy File: A How-To Guide\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg\",\"datePublished\":\"2021-02-26T18:04:47+00:00\",\"dateModified\":\"2023-12-01T12:09:00+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn how to copy a file in Python using the shutil.copy() and shutil.copy2() methods.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-copy-file\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg\",\"width\":1000,\"height\":663},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-copy-file\/#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 Copy File: A How to 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 Copy File: A How-To Guide","description":"On Career Karma, learn how to copy a file in Python using the shutil.copy() and shutil.copy2() methods.","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-copy-file\/","og_locale":"en_US","og_type":"article","og_title":"Python Copy File: A How to Guide","og_description":"On Career Karma, learn how to copy a file in Python using the shutil.copy() and shutil.copy2() methods.","og_url":"https:\/\/careerkarma.com\/blog\/python-copy-file\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2021-02-26T18:04:47+00:00","article_modified_time":"2023-12-01T12:09:00+00:00","og_image":[{"width":1000,"height":663,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.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-copy-file\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python Copy File: A How to Guide","datePublished":"2021-02-26T18:04:47+00:00","dateModified":"2023-12-01T12:09:00+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/"},"wordCount":665,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-copy-file\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/","url":"https:\/\/careerkarma.com\/blog\/python-copy-file\/","name":"Python Copy File: A How-To Guide","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg","datePublished":"2021-02-26T18:04:47+00:00","dateModified":"2023-12-01T12:09:00+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn how to copy a file in Python using the shutil.copy() and shutil.copy2() methods.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-copy-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/code-coding-computer-data-574070.jpg","width":1000,"height":663},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-copy-file\/#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 Copy File: A How to 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\/29378","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=29378"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/29378\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/17678"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=29378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=29378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=29378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}