{"id":112926,"date":"2025-11-03T16:06:31","date_gmt":"2025-11-03T10:36:31","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/"},"modified":"2025-11-03T15:46:14","modified_gmt":"2025-11-03T10:16:14","slug":"rename-multiple-files-with-python","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/","title":{"rendered":"Rename Multiple Files with Python (No Manual Work)"},"content":{"rendered":"\n<p>Do you have a folder with messed-up file names - like <code>IMG_1234.jpg<\/code>, <code>File(7).txt<\/code> or <code>New Document.docx<\/code>?<\/p>\n\n\n\n<p>If you try to rename them one by one, it will take hours. But don\u2019t worry, Python can do this in just a few seconds. Just follow this guide, and you will be able to rename your files automatically.<\/p>\n\n\n\n<p>In this guide, we will create a Python script that will rename all the files in a folder at once. Whether the folder contains photos or scattered files in Downloads, everything will become clean and organized.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"before-vs-after-example\">Before vs After Example<\/h2>\n\n\n\n<p>Let's see the kind of difference this script can make.<\/p>\n\n\n\n<p><strong>\ud83d\udcc2 BEFORE:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IMG_1234.jpg<\/li>\n\n\n\n<li>IMG_1235.jpg<\/li>\n\n\n\n<li>IMG_1236.jpg<\/li>\n<\/ul>\n\n\n\n<p><strong>\ud83d\udcc2 AFTER (with prefix = Vacation):<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vacation_1.jpg<\/li>\n\n\n\n<li>Vacation_2.jpg<\/li>\n\n\n\n<li>Vacation_3.jpg<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A folder containing the files you want to rename.<\/li>\n\n\n\n<li>Python should be installed on your computer. If you don't have it, follow this Python<a href=\"https:\/\/www.mygreatlearning.com\/blog\/how-to-install-python\/\"> installation guide<\/a> and install.<\/li>\n<\/ul>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/master-python-programming\" class=\"courses-cta-title-link\">Python Programming Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">In this course, you will learn the fundamentals of Python: from basic syntax to mastering data structures, loops, and functions. You will also explore OOP concepts and objects to build robust programs.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>11.5 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>51 Coding Exercises<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/master-python-programming\" class=\"courses-cta-button\">\n                Start Free Trial\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-set-up-your-workspace\">Step 1: Set up your workspace<\/h2>\n\n\n\n<p><strong>1. Create a new folder:<\/strong><br>Create a new folder on your desktop, name it <code>Rename_Files_Project<\/code>.<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full zoomable\" data-full=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-folder.png\"><img decoding=\"async\" width=\"966\" height=\"364\" src=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-folder.png\" alt=\"\" class=\"wp-image-112932\" srcset=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-folder.png 966w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-folder-300x113.png 300w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-folder-768x289.png 768w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-folder-150x57.png 150w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><\/figure>\n\n\n\n<p><strong>2. Add your files:<\/strong><br>Put the files you want to rename into this folder. For example, you have some image files - <code>IMG_1234.jpg<\/code>, <code>IMG_1235.jpg<\/code>, etc. - put them all here.<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full zoomable\" data-full=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/add-files-to-folder.png\"><img decoding=\"async\" width=\"886\" height=\"546\" src=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/add-files-to-folder.png\" alt=\"\" class=\"wp-image-112933\" srcset=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/add-files-to-folder.png 886w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/add-files-to-folder-300x185.png 300w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/add-files-to-folder-768x473.png 768w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/add-files-to-folder-150x92.png 150w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/figure>\n\n\n\n<p><strong>3. Create a Python file:<\/strong><br>Now open any text editor like Notepad, VS Code, or Sublime Text. Create a blank file in the editor and save it in the same \"Rename_Files_Project\" folder you just created. Name this file: <code>rename_script.py<\/code><\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full zoomable\" data-full=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-python-file.png\"><img decoding=\"async\" width=\"886\" height=\"546\" src=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-python-file.png\" alt=\"\" class=\"wp-image-112935\" srcset=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-python-file.png 886w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-python-file-300x185.png 300w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-python-file-768x473.png 768w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/create-python-file-150x92.png 150w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-write-a-python-script\">Step 2: Write a Python script<\/h2>\n\n\n\n<p>Open the file named <code>rename_script.py<\/code> and copy-paste the following code into it:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport os\nimport re\n\n# This function renames all files in a folder with a new name.\ndef rename_files(folder_path, prefix):\n    &quot;&quot;&quot;\n    This function renames all files in a given folder by giving them a new prefix and serial number.\n\n    Args:\n    folder_path (str): The folder where the files are stored.\n    prefix (str): The new prefix to be added to the name of each file (e.g. &#039;Vacation&#039;).\n    &quot;&quot;&quot;\n    try:\n        # Get a list of all the items in the folder.\n        files = os.listdir(folder_path)\n\n        # Keep only files from the list and remove folders.\n        files = &#x5B;f for f in files if os.path.isfile(os.path.join(folder_path, f))]\n\n        # Sort the files so that the serial numbers are in the correct order.\n        files.sort()\n\n        # Now rename each file one by one.\n        for index, filename in enumerate(files, 1):\n            # Separate the file name and its extension.\n            name, extension = os.path.splitext(filename)\n\n            # Create a new name: prefix + serial number + extension\n            new_filename = f&quot;{prefix}_{index}{extension}&quot;\n\n            # Create the old and new file paths.\n            old_filepath = os.path.join(folder_path, filename)\n            new_filepath = os.path.join(folder_path, new_filename)\n\n            # Now give the file a new name.\n            os.rename(old_filepath, new_filepath)\n            print(f&quot;Renamed &#039;{filename}&#039; to &#039;{new_filename}&#039;&quot;)\n\n        print(&quot;\\nAll files have been renamed successfully!&quot;)\n    except FileNotFoundError:\n        print(f&quot;Error: The given folder (&#039;{folder_path}&#039;) was not found.&quot;)\n    except Exception as e:\n        print(f&quot;Something went wrong: {e}&quot;)\n\n# Here you will tell which folder to rename and what will be the new name.\n# &#039;.&#039; means the folder where this script is currently running.\nfolder_to_rename = &#039;.&#039;\nnew_prefix = &#039;Vacation&#039;\n\n# The script starts with the below line.\nif __name__ == &quot;__main__&quot;:\n    rename_files(folder_to_rename, new_prefix)\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-modify-the-script-to-suit-your-needs\">Step 3: Modify the script to suit your needs<\/h2>\n\n\n\n<p>In this step, you only need to adjust two lines of the script so that it works for your purpose:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong><code>folder_to_rename = '.'<\/code><\/strong><br>This line contains the name of the folder where your files are stored. If you leave out just the <code>'.' <\/code>It means that the script will run in the same folder where the script itself is stored. That is, if you have followed step 1 correctly, you won't need to change anything. But if your files are located somewhere else, replace the <code>.<\/code> with the full path of that folder. For example: <code>'C:\\\\Users\\\\YourName\\\\Pictures\\\\PhotosToRename'<\/code><\/li>\n\n\n\n<li><strong><code>new_prefix = 'Vacation'<\/code><\/strong><br>This line determines what the new name of your files will be. In place of <code>'Vacation'<\/code>Write whatever name you want. Such as: <code>'My_Docs'<\/code>, <code>'Project_Files'<\/code>, <code>'College_Notes'<\/code> etc. Then your files will be named something like this: <code>My_Docs_1.jpg<\/code>, <code>My_Docs_2.jpg<\/code>, <code>My_Docs_3.jpg<\/code>... and so on.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-4-run-the-script\">Step 4: Run the script<\/h2>\n\n\n\n<p><strong>Tip:<\/strong> Make a copy of your files before running the script, safety first!<\/p>\n\n\n\n<p>First, open your command prompt:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you're running on Windows, press <code>Win + R<\/code>, then type <code>cmd<\/code> and press <code>Enter<\/code>.<\/li>\n\n\n\n<li>If you have macOS or Linux, open the Terminal.<\/li>\n<\/ul>\n\n\n\n<p>Now go to the folder where your project is located, named <code>Rename_Files_Project<\/code>. Use the <code>cd<\/code> command to do this:<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full zoomable\" data-full=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/results.png\"><img decoding=\"async\" width=\"729\" height=\"471\" src=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/results.png\" alt=\"\" class=\"wp-image-112936\" srcset=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/results.png 729w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/results-300x194.png 300w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/results-150x97.png 150w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/figure>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncd C:\\Users\\YourName\\Desktop\\Rename_Files_Project\n<\/pre><\/div>\n\n\n<p>Now that you're in the right directory, run the Python script:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npython rename_script.py\n<\/pre><\/div>\n\n\n<p>Press <code>Enter<\/code>.<\/p>\n\n\n\n<p>The script will run and display a message for each file it's renaming. When all files are finished, you will get a confirmation message and all files will be renamed with the prefix and numbering you provided.<\/p>\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized zoomable\" data-full=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/folder-after-reuslt.png\"><img decoding=\"async\" width=\"882\" height=\"511\" src=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/folder-after-reuslt.png\" alt=\"\" class=\"wp-image-112937\" style=\"width:882px;height:auto\" srcset=\"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/folder-after-reuslt.png 882w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/folder-after-reuslt-300x174.png 300w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/folder-after-reuslt-768x445.png 768w, https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/folder-after-reuslt-150x87.png 150w\" sizes=\"(max-width: 882px) 100vw, 882px\" \/><\/figure>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Free Course<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/python-fundamentals-for-beginners\" class=\"courses-cta-title-link\">Python Fundamentals for Beginners Free Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Master Python basics, from variables to data structures and control flow. Solve real-time problems and build practical skills using Jupyter Notebook.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>13.5 hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>4.55<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/python-fundamentals-for-beginners\" class=\"courses-cta-button\">\n                Enroll for Free\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"bonus-tip-rename-specific-file-types\">Bonus Tip: Rename Specific File Types<\/h2>\n\n\n\n<p>Do you only want files in <code>.jpg<\/code> format to be renamed?<\/p>\n\n\n\n<p>So you can add a small condition inside your for loop to only work on <code>.jpg<\/code> files, skipping all others. Just add this line at the start of the for loop:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nif not filename.lower().endswith(&#039;.jpg&#039;):\n    continue\n<\/pre><\/div>\n\n\n<p>This means - if the file name does not end in <code>.jpg<\/code>, skip it and move on to the next one. This will make your script select only the files you want.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"frequently-asked-questions-faqs\">Frequently Asked Questions (FAQs)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-what-if-i-want-the-numbering-to-start-from-100-instead-of-1-for-example-vacation_100-jpg\">1. What if I want the numbering to start from 100 instead of 1? For example <code>Vacation_100.jpg<\/code>?<\/h3>\n\n\n\n<p>No problem. The \u20181\u2019 in the script <code>enumerate(files, 1)<\/code> means that the counting starts from 1. If you want to start from 100, just change it to <code>enumerate(files, 100)<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-my-files-got-renamed-in-the-wrong-order-e-g-1-10-11-2-why-did-this-happen\">2. My files got renamed in the wrong order (e.g. 1, 10, 11, 2)? Why did this happen?<\/h3>\n\n\n\n<p>Because the computer treats numbers as text in normal sorting. So it puts \u201810\u2019 before \u20182\u2019 (alphabetical logic). Solution: Use a sorting method that recognizes numbers correctly. Below is a small piece of code that does just that:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport re\n\ndef extract_number(filename):\n    s = re.findall(r&#039;\\d+&#039;, filename)\n    return int(s&#x5B;0]) if s else -1\n\n# Modify files.sort():\nfiles.sort(key=extract_number)\n\n<\/pre><\/div>\n\n\n<p>This method extracts a number from each filename and arranges the files in the correct order.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-what-if-i-want-to-rename-files-in-another-folder-but-want-the-script-to-remain-the-same\">3. What if I want to rename files in another folder, but want the script to remain the same?<\/h3>\n\n\n\n<p>So change <code>folder_to_rename = '.'<\/code> to give the full path of that folder. For example: <code>folder_to_rename = 'C:\\\\Users\\\\YourName\\\\Documents\\\\MyPhotos'<\/code>. Just remember - in Windows, it is necessary to use double backslashes (<code>\\\\<\/code>) when typing the path.<\/p>\n\n\n\n<p><strong>Also Check:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-quiz\/\">Python Quiz<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-exercise\/\">Python Coding Questions<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-compiler-tool\/\">Online Python Compiler<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/top-python-projects-for-beginners\/\">Python Projects<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-interview-questions\/\">Python Interview Questions and Answers<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/python-developer-salary-in-india\/\">How to Become a Python Developer<\/a><a href=\"https:\/\/www.facebook.com\/sharer.php?t=Download+YouTube+Videos+or+Playlist+Using+Python&amp;u=https:\/\/www.mygreatlearning.com\/blog\/download-youtube-videos-playlist-using-python\/\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><a href=\"https:\/\/twitter.com\/intent\/tweet?text=Download+YouTube+Videos+or+Playlist+Using+Python&amp;url=https:\/\/www.mygreatlearning.com\/blog\/download-youtube-videos-playlist-using-python\/&amp;via=Great_Learning\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><a href=\"https:\/\/www.linkedin.com\/cws\/share?url=https:\/\/www.mygreatlearning.com\/blog\/download-youtube-videos-playlist-using-python\/\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><a href=\"https:\/\/wa.me\/?text=https:\/\/www.mygreatlearning.com\/blog\/download-youtube-videos-playlist-using-python\/\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to automate renaming multiple files using Python. Complete source code provided.<\/p>\n","protected":false},"author":41,"featured_media":112928,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25860],"tags":[36796,36805],"content_type":[],"class_list":["post-112926","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-python","tag-python-project"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Rename Multiple Files with Python (No Manual Work)<\/title>\n<meta name=\"description\" content=\"Learn how to automate renaming multiple files using Python. Complete source code provided.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rename Multiple Files with Python (No Manual Work)\" \/>\n<meta property=\"og:description\" content=\"Learn how to automate renaming multiple files using Python. Complete source code provided.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-03T10:36:31+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1408\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Rename Multiple Files with Python (No Manual Work)\",\"datePublished\":\"2025-11-03T10:36:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/\"},\"wordCount\":761,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/rename-python-automation.webp\",\"keywords\":[\"python\",\"Python Project\"],\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/\",\"name\":\"Rename Multiple Files with Python (No Manual Work)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/rename-python-automation.webp\",\"datePublished\":\"2025-11-03T10:36:31+00:00\",\"description\":\"Learn how to automate renaming multiple files using Python. Complete source code provided.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/rename-python-automation.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/rename-python-automation.webp\",\"width\":1408,\"height\":768,\"caption\":\"Rename Multiple Files with Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/rename-multiple-files-with-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IT\\\/Software Development\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/software\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Rename Multiple Files with Python (No Manual Work)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Rename Multiple Files with Python (No Manual Work)","description":"Learn how to automate renaming multiple files using Python. Complete source code provided.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/","og_locale":"en_US","og_type":"article","og_title":"Rename Multiple Files with Python (No Manual Work)","og_description":"Learn how to automate renaming multiple files using Python. Complete source code provided.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2025-11-03T10:36:31+00:00","og_image":[{"width":1408,"height":768,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp","type":"image\/webp"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Rename Multiple Files with Python (No Manual Work)","datePublished":"2025-11-03T10:36:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/"},"wordCount":761,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp","keywords":["python","Python Project"],"articleSection":["IT\/Software Development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/","url":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/","name":"Rename Multiple Files with Python (No Manual Work)","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp","datePublished":"2025-11-03T10:36:31+00:00","description":"Learn how to automate renaming multiple files using Python. Complete source code provided.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp","width":1408,"height":768,"caption":"Rename Multiple Files with Python"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/rename-multiple-files-with-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IT\/Software Development","item":"https:\/\/www.mygreatlearning.com\/blog\/software\/"},{"@type":"ListItem","position":3,"name":"Rename Multiple Files with Python (No Manual Work)"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp",1408,768,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-150x150.webp",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-300x164.webp",300,164,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-768x419.webp",768,419,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-1024x559.webp",1024,559,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp",1408,768,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation.webp",1408,768,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-640x768.webp",640,768,true],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-96x96.webp",96,96,true],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/11\/rename-python-automation-150x82.webp",150,82,true]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"Learn how to automate renaming multiple files using Python. Complete source code provided.","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/112926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=112926"}],"version-history":[{"count":9,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/112926\/revisions"}],"predecessor-version":[{"id":115322,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/112926\/revisions\/115322"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/112928"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=112926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=112926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=112926"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=112926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}