id-1 ti" /> <meta property="og:title" content="[Answered] Converting an xml to dictionary on python,xmltodict" /> <meta property="og:type" content="article" /> <meta property="article:tag" name="article:tag" content="python" /> <meta property="article:tag" name="article:tag" content="xmltodict" /> <meta property="og:url" content="https://devhide.com/index.php/converting-an-xml-to-dictionary-72413986" /> <meta property="og:description" content="I have an XML file like this: <?xml version="1.0" encoding="UTF-8"?> <items> <item type="dict"> <job_id type="str">id-1</job_id > <title type="str">ti" /> <meta property="og:site_name" content="Devhide" /> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://devhide.com/img/img_default.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:url" content="https://devhide.com/index.php/converting-an-xml-to-dictionary-72413986" /> <meta name="twitter:domain" content="TechQA.club" /> <meta name="twitter:title" content="[Answered] Converting an xml to dictionary on python,xmltodict" /> <meta name="twitter:description" property="og:description" itemprop="description" content="I have an XML file like this: <?xml version="1.0" encoding="UTF-8"?> <items> <item type="dict"> <job_id type="str">id-1</job_id > <title type="str">ti"/> <meta property="article:published_time" content="2022-05-28T08:07:14.613000" /> <meta property="article:published_time" name="article:published_time" content="2022-05-28T08:07:14.613000" /> <meta property="article:modified_time" content="2025-12-12T16:10:04.995961" /> <meta property="article:modified_time" name="article:modified_time" content="2025-12-12T16:10:04.995961" /> <meta property="article:author:username" name="article:author:username" content="Hooman Bahreini" /> <meta property="og:site_name" name="og:site_name" content="Devhide" /> <meta property="og:locale" name="og:locale" content="en_US" /> <meta name="revisit-after" content="1"> <meta name="webcrawlers" content="all"> <meta name="spiders" content="all"> <meta name='language' content='en'/> <meta name='geo.placename' content='United States'/> <meta name='robots' content='index, follow'/> <meta name='Googlebot-Image' content='follow, all'/> <meta name='rating' content='general'/> <meta name='audience' content='all'/> <link rel='dns-prefetch' href='//code.jquery.com' /> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/github.css"> <link rel="canonical" href="https://devhide.com/index.php/converting-an-xml-to-dictionary-72413986" > <link rel="alternate" href="https://techqa.club" hreflang="en"/> <link rel="shortcut icon" href="https://devhide.com/img/favicon.png " type="image/x-icon"> <link rel='dns-prefetch' href='//ajax.googleapis.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//code.jquery.com' /> <link rel='dns-prefetch' href='//highperformanceformat.com' /> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" media="all" href="https://devhide.com/css/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/app.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/line-awesome.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/selectize.css"> <link type="text/css" rel="stylesheet" href="https://devhide.com/css/style.css"> <link href="/opensearch" rel="search" title="TechQA" type="application/opensearchdescription+xml"> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2199440138602787" crossorigin="anonymous"></script> </head> <body> <header class="header-area bg-white border-bottom border-bottom-gray"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-2"> <div class="logo-box"> <a href="/" class="navbar-brand">DEVHIDE</a> <div class="user-action"> <div class="search-menu-toggle icon-element icon-element-xs shadow-sm me-1" data-bs-toggle="tooltip" data-placement="top" aria-label="Search" data-bs-original-title="Search"> <i class="la la-search"></i> </div> <div class="off-canvas-menu-toggle icon-element icon-element-xs shadow-sm" data-bs-toggle="tooltip" data-placement="top" aria-label="Main menu" data-bs-original-title="Main menu"> <i class="la la-bars"></i> </div> </div> </div> </div><!-- end col-lg-2 --> <div class="col-lg-10"> <div class="menu-wrapper border-left border-left-gray ps-4 justify-content-end"> <nav class="menu-bar me-auto"> <ul> <li> <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> </li> <li class="is-mega-menu"> <a class="nav-link" href="https://devhide.com/index.php/pages/about-us">About</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/contact-us">Contact</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/cookie-policy">Cookie</a> </li> </ul><!-- end ul --> </nav><!-- end main-menu --> <form class="me-4" action="https://devhide.com/index.php/search" method="POST"> <div class="form-group mb-0"> <input type="hidden" name="_token" value="d1f6nFH8qwx5nKsEBVHoLQdJcQJKGiXB2UrQ9YEv" autocomplete="off"> <input aria-label="Search" type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control form--control form--control-bg-gray" autocomplete="off"> <button class="form-btn" type="button" aria-label='search'><i class="la la-search"></i></button> </div> </form> </div><!-- end menu-wrapper --> </div><!-- end col-lg-10 --> </div><!-- end row --> </div><!-- end container --> <div class="off-canvas-menu custom-scrollbar-styled"> <div class="off-canvas-menu-close icon-element icon-element-sm shadow-sm" data-bs-toggle="tooltip" data-placement="left" data-bs-original-title="Close menu" role=''> <i class="la la-times"></i> </div><!-- end off-canvas-menu-close --> <ul class="generic-list-item off-canvas-menu-list pt-90px"> <li> <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> </li> <li class="is-mega-menu"> <a class="nav-link" href="https://devhide.com/index.php/pages/about-us">About</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/contact-us">Contact</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/cookie-policy">Cookie</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/disclaimer">Disclaimer</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/privacy-policy">Privacy</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/terms-and-conditions">TOS</a> </li> </ul> <div class="off-canvas-btn-box px-4 pt-5 text-center"> <a href="#" class="btn theme-btn theme-btn-sm theme-btn-outline" data-bs-toggle="modal" data-bs-target="#loginModal"><i class="la la-sign-in me-1"></i> Login</a> <span class="fs-15 fw-medium d-inline-block mx-2">Or</span> <a href="#" class="btn theme-btn theme-btn-sm" data-bs-toggle="modal" data-bs-target="#signUpModal"><i class="la la-plus me-1"></i> Sign up</a> </div> </div><!-- end off-canvas-menu --> <div class="mobile-search-form"> <div class="d-flex align-items-center"> <form class="me-4" action="https://devhide.com/index.php/search" method="POST"> <div class="form-group mb-0"> <input type="hidden" name="_token" value="d1f6nFH8qwx5nKsEBVHoLQdJcQJKGiXB2UrQ9YEv" autocomplete="off"> <input aria-label="Search" type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control form--control form--control-bg-gray" autocomplete="off"> <button class="form-btn" type="button" aria-label='search'><i class="la la-search"></i></button> </div> </form> </div> </div><!-- end mobile-search-form --> <div class="body-overlay"></div> </header> <section role="main" class="main-content py-4"> <div class="container"> <div class="row"> <div class="col-md-8" itemscope="itemscope" itemtype="http://schema.org/QAPage"> <div class="setra my-2"> <script type="text/javascript"> atOptions = { 'key' : 'fb6fa8ce7d93be929489d8b65dee2ba5', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} }; </script> <script type="text/javascript" src="//www.highperformanceformat.com/fb6fa8ce7d93be929489d8b65dee2ba5/invoke.js"></script> </div> <div class="wrapperLayout" itemprop="mainEntity" itemscope="" itemtype="http://schema.org/Question"> <link itemprop="image" href="https://devhide.com/img/logo-default.png"> <div class="box question"> <div class="box-header with-border"> <h1 itemprop="name"> <a href="" title="Converting an xml to dictionary" title="Converting an xml to dictionary"> Converting an xml to dictionary </a> </h1> <span class="text-muted text-date"> <span title="239 views">239 Views</span> Asked by <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="name"> <strong>Hooman Bahreini</strong> </span> </span> At <time datetime="2022-05-28T08:07:14.613000" itemprop="datePublished" title="2022-05-28T08:07:14.613000"> 28 May 2022 at 08:07 </time> <time class="d-none" itemprop="dateModified" > 2025-12-12T16:10:04.995961 </time> </span> </div> <div class="box-body"> <div itemprop="text" class="post-text"> <p>I have an XML file like this:</p> <pre><code><?xml version="1.0" encoding="UTF-8"?> <items> <item type="dict"> <job_id type="str">id-1</job_id > <title type="str">title-1</title> <desc type="str">desc-1</desc> </item> <item type="dict"> <job_id type="str">id-2</job_id> <title type="str">title-2</title> <desc type="str">desc-2</desc> </item> </items> </code></pre> <p>I want to parse this into a dictionary, in such a way that I can access the job using it's id. So the dictionary key will be <code>job_id</code> and the whole job definition will the corresponding value.</p> <p>Here is what I have tried:</p> <pre class="lang-py prettyprint-override"><code>class Job: def __init__(self): self.path = "path-to-xml-file" self.job_dict = {} def load_jobs(self, env, path): file = read_from_s3(env, full_path) # reads the job file from S3 bucket dict = xmltodict.parse(file) for item in dict['items']['item']: key = item['job_id'] self.job_dict[key] = item # <-- I get exception on this line </code></pre> <p>I get the following exception when I try to add element to the dictionary:</p> <blockquote> <p>[Failure instance: Traceback: <class 'TypeError'>: unhashable type: 'collections.OrderedDict'</p> </blockquote> <p>Also in the watch window, this is what I see for <code>item</code>:</p> <p><a href="https://i.stack.imgur.com/FoijQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FoijQ.png" alt="enter image description here" /></a></p> <p>and this is what I see for <code>key</code>:</p> <p><a href="https://i.stack.imgur.com/sWk0H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sWk0H.png" alt="enter image description here" /></a></p> </div> <div class="tagcloud"> <a href="https://devhide.com/index.php/hashtag/python"> <span>python</span> </a> <a href="https://devhide.com/index.php/hashtag/xmltodict"> <span>xmltodict</span> </a> </div> </div> <div class="box-footer"> <span class="source"> <a href="https://stackoverflow.com/questions/72413986/converting-an-xml-to-dictionary" target="_blank" rel="nofollow"> Original Q&A </a> </span> </div> </div> <!-- ads here --> <div class="counter-header my-3"> <span class="d-none" itemprop="answerCount">1</span> <h2>There are <strong>1</strong> best solutions below</h2> </div> <div class="box answerQuestion"> <div id="wajab" class="box"> <div class="box mb-5"> <div class="post answerId-66a05dd7a06677a8f25e2f04 accepted" id="answer-66a05dd7a06677a8f25e2f04" class="box" data-answerid="66a05dd7a06677a8f25e2f04" itemprop="acceptedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <a class="d-none" itemprop="url" href="#answer-66a05dd7a06677a8f25e2f04"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="3">3</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="MohitC" > <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>MohitC</strong> </span> </span> <span title="2022-05-28T08:19:50.227000" class="dater d-none d-md-inline-block"> On <time itemprop="datePublished" title="2022-05-28T08:19:50.227000" datetime="2022-05-28T08:19:50.227000"> 28 May 2022 at 08:19 </time> </span> <span class="badge badge-primary"> BEST ANSWER </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p><code>item['job_id']</code> is a dict. You cant use that as a key in your <code>self.job_dict = {}</code>.</p> <p>Change it to <code>key = item['job_id']['#text']</code> instead</p> <hr /> <p>Just to better understand the error, the object implementing a dictionary key must implement magic method <code>__hash__()</code>. This means a key must be hashable for the dictionary structure to be optimized.</p> </div> </div> </div> </div> </div> </div> </div> </div> <!-- ads here --> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>PYTHON</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://devhide.com/index.php/new-thread-blocks-main-thread-30701983'> new thread blocks main thread </a> </li> <li> <a href='https://devhide.com/index.php/extracting-viewcount-subscribercount-from-youtube-api-v3-for-a-given-channel-where-channelid-does-not-equal-userid-30713009'> Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID </a> </li> <li> <a href='https://devhide.com/index.php/display-images-on-django-template-site-30713020'> Display images on Django Template Site </a> </li> <li> <a href='https://devhide.com/index.php/difference-between-list-and-dict-with-generators-30725389'> Difference between list() and dict() with generators </a> </li> <li> <a href='https://devhide.com/index.php/how-can-i-serialize-a-numpy-array-while-preserving-matrix-dimensions-30698004'> How can I serialize a numpy array while preserving matrix dimensions? </a> </li> <li> <a href='https://devhide.com/index.php/protractor-did-not-run-properly-when-using-browser-wait-msg-wait-timed-out-after-xxxms-30715541'> Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms" </a> </li> <li> <a href='https://devhide.com/index.php/why-is-my-program-adding-int-as-string-4-7-47-30656857'> Why is my program adding int as string (4+7 = 47)? </a> </li> <li> <a href='https://devhide.com/index.php/store-numpy-array-in-mysql-30713062'> store numpy array in mysql </a> </li> <li> <a href='https://devhide.com/index.php/how-to-omit-the-less-frequent-words-from-a-dictionary-in-python-30715549'> how to omit the less frequent words from a dictionary in python? </a> </li> <li> <a href='https://devhide.com/index.php/update-a-text-file-with-new-words-n-after-the-words-is-appended-into-a-list-30720199'> Update a text file with ( new words+ \n ) after the words is appended into a list </a> </li> <li> <a href='https://devhide.com/index.php/python-how-to-write-list-of-lists-to-file-30711899'> python how to write list of lists to file </a> </li> <li> <a href='https://devhide.com/index.php/removing-url-features-from-tokens-in-nltk-30686691'> Removing URL features from tokens in NLTK </a> </li> <li> <a href='https://devhide.com/index.php/optimizing-for-social-leaderboards-30715573'> Optimizing for Social Leaderboards </a> </li> <li> <a href='https://devhide.com/index.php/python-get-size-of-string-in-bytes-30686701'> Python : Get size of string in bytes </a> </li> <li> <a href='https://devhide.com/index.php/what-is-the-code-of-the-sorted-function-30709918'> What is the code of the sorted function? </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h4>Related Questions in <strong>XMLTODICT</strong></h4> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://devhide.com/index.php/python-import-xml-intro-sqlite-xmltodict-30933179'> Python import XML intro SQLITE (xmltodict) </a> </li> <li> <a href='https://devhide.com/index.php/parsing-an-xml-file-with-an-ordered-dictionary-26926426'> Parsing an xml file with an ordered dictionary </a> </li> <li> <a href='https://devhide.com/index.php/python-compare-large-xml-files-46100540'> Python - Compare Large XML Files </a> </li> <li> <a href='https://devhide.com/index.php/xmltodict-unparsing-raises-valueerror-document-must-have-exactly-one-root-python-3-64306120'> xmltodict: unparsing raises ValueError('Document must have exactly one root.') - Python 3 </a> </li> <li> <a href='https://devhide.com/index.php/handle-1-to-n-elements-27487070'> Handle 1 to n elements </a> </li> <li> <a href='https://devhide.com/index.php/python-script-runs-on-google-colab-but-not-locally-77374166'> Python script runs on Google Colab but not locally </a> </li> <li> <a href='https://devhide.com/index.php/python-dictionary-looping-issue-nested-typeerror-list-indices-must-be-integers-or-slices-not-str-65025294'> Python Dictionary - Looping issue (nested) | TypeError: list indices must be integers or slices, not str </a> </li> <li> <a href='https://devhide.com/index.php/xmltodict-xml-returns-dictionary-values-with-backslashes-71827269'> xmltodict(xml) returns dictionary values with backslashes </a> </li> <li> <a href='https://devhide.com/index.php/parsing-invalid-xml-using-xmltodict-72043695'> parsing invalid xml using xmltodict </a> </li> <li> <a href='https://devhide.com/index.php/how-can-lists-be-distinguished-depending-on-the-types-of-their-items-72161129'> How can lists be distinguished depending on the types of their items? </a> </li> <li> <a href='https://devhide.com/index.php/python-xmltodict-53234335'> Python xmltodict </a> </li> <li> <a href='https://devhide.com/index.php/read-modify-the-xml-save-it-in-a-new-xml-using-python-52499959'> Read, Modify the xml save it in a new xml using python </a> </li> <li> <a href='https://devhide.com/index.php/parsing-large-xml-file-using-xmltodict-module-results-in-overflowerror-35378632'> Parsing large XML file using 'xmltodict' module results in OverflowError </a> </li> <li> <a href='https://devhide.com/index.php/remove-special-characters-from-keys-of-a-parsed-xml-file-using-xmltodict-35452588'> Remove special characters from keys of a parsed xml file using xmltodict </a> </li> <li> <a href='https://devhide.com/index.php/how-to-use-xmltodict-parse-with-non-printable-data-74840642'> How to use xmltodict.parse with non-printable data </a> </li> </ul> </div> </div> <div class="col-lg-4"> <div class="sidebar"> <div class="widget"> <script type="text/javascript"> atOptions = { 'key' : '85d394e5b99acb52afb83e3dde49240e', 'format' : 'iframe', 'height' : 50, 'width' : 320, 'params' : {} }; </script> <script type="text/javascript" src="//www.highperformanceformat.com/85d394e5b99acb52afb83e3dde49240e/invoke.js"></script> </div> <div class="widget"> <div class="widget-title"> <h4>Trending Questions</h4> </div> <ul class="relatedPost"><li> <a href='https://devhide.com/index.php/uiimageview-frame-doesn-t-reflect-constraints-32240629'> UIImageView Frame Doesn't Reflect Constraints </a> </li> <li> <a href='https://devhide.com/index.php/is-it-possible-to-use-adb-commands-to-click-on-a-view-by-finding-its-id-39315028'> Is it possible to use adb commands to click on a view by finding its ID? </a> </li> <li> <a href='https://devhide.com/index.php/how-to-create-a-new-web-character-symbol-recognizable-by-html-javascript-11059803'> How to create a new web character symbol recognizable by html/javascript? </a> </li> <li> <a href='https://devhide.com/index.php/why-isn-t-my-css3-animation-smooth-in-google-chrome-but-very-smooth-on-other-browsers-37629745'> Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)? </a> </li> <li> <a href='https://devhide.com/index.php/heap-gives-page-fault-39109581'> Heap Gives Page Fault </a> </li> <li> <a href='https://devhide.com/index.php/connect-ffmpeg-to-visual-studio-2008-17218902'> Connect ffmpeg to Visual Studio 2008 </a> </li> <li> <a href='https://devhide.com/index.php/both-object-and-valueanimator-jumps-when-duration-is-set-above-api-lvl-24-46991118'> Both Object- and ValueAnimator jumps when Duration is set above API LvL 24 </a> </li> <li> <a href='https://devhide.com/index.php/how-to-avoid-default-initialization-of-objects-in-std-vector-78203063'> How to avoid default initialization of objects in std::vector? </a> </li> <li> <a href='https://devhide.com/index.php/second-argument-of-the-command-line-arguments-in-a-format-other-than-char-argv-or-char-argv-60047957'> second argument of the command line arguments in a format other than char** argv or char* argv[] </a> </li> <li> <a href='https://devhide.com/index.php/how-to-improve-efficiency-of-algorithm-which-generates-next-lexicographic-permutation-43290467'> How to improve efficiency of algorithm which generates next lexicographic permutation? </a> </li> <li> <a href='https://devhide.com/index.php/navigating-to-the-another-actvity-app-getting-crash-in-android-44773528'> Navigating to the another actvity app getting crash in android </a> </li> <li> <a href='https://devhide.com/index.php/how-to-read-the-particular-message-format-in-android-and-store-in-sqlite-database-23211116'> How to read the particular message format in android and store in sqlite database? </a> </li> <li> <a href='https://devhide.com/index.php/resetting-inventory-status-after-order-is-cancelled-39125469'> Resetting inventory status after order is cancelled </a> </li> <li> <a href='https://devhide.com/index.php/efficiently-compute-powers-of-x-in-sse-avx-67955549'> Efficiently compute powers of X in SSE/AVX </a> </li> <li> <a href='https://devhide.com/index.php/insert-into-an-external-database-using-ajax-and-php-post-500-internal-server-error-43365921'> Insert into an external database using ajax and php : POST 500 (Internal Server Error) </a> </li> </ul> </div> <div class="widget"> <div class="widget-title"> <h4>Popular # Hahtags</h4> </div> <div class="tagcloud"><a href='https://devhide.com/index.php/hashtag/javascript' class="tag-link tag-link-md"> <span>javascript</span> </a> <a href='https://devhide.com/index.php/hashtag/python' class="tag-link tag-link-md"> <span>python</span> </a> <a href='https://devhide.com/index.php/hashtag/java' class="tag-link tag-link-md"> <span>java</span> </a> <a href='https://devhide.com/index.php/hashtag/c#' class="tag-link tag-link-md"> <span>c#</span> </a> <a href='https://devhide.com/index.php/hashtag/php' class="tag-link tag-link-md"> <span>php</span> </a> <a href='https://devhide.com/index.php/hashtag/android' class="tag-link tag-link-md"> <span>android</span> </a> <a href='https://devhide.com/index.php/hashtag/html' class="tag-link tag-link-md"> <span>html</span> </a> <a href='https://devhide.com/index.php/hashtag/jquery' class="tag-link tag-link-md"> <span>jquery</span> </a> <a href='https://devhide.com/index.php/hashtag/c++' class="tag-link tag-link-md"> <span>c++</span> </a> <a href='https://devhide.com/index.php/hashtag/css' class="tag-link tag-link-md"> <span>css</span> </a> <a href='https://devhide.com/index.php/hashtag/ios' class="tag-link tag-link-md"> <span>ios</span> </a> <a href='https://devhide.com/index.php/hashtag/sql' class="tag-link tag-link-md"> <span>sql</span> </a> <a href='https://devhide.com/index.php/hashtag/mysql' class="tag-link tag-link-md"> <span>mysql</span> </a> <a href='https://devhide.com/index.php/hashtag/r' class="tag-link tag-link-md"> <span>r</span> </a> <a href='https://devhide.com/index.php/hashtag/reactjs' class="tag-link tag-link-md"> <span>reactjs</span> </a> </div> </div> <div class="widget"> <div class="widget-title"> <h4>Popular Questions</h4> </div> <ul class="popularPosts"><li> <a href='https://devhide.com/index.php/how-do-i-undo-the-most-recent-local-commits-in-git-927358'> How do I undo the most recent local commits in Git? </a> </li> <li> <a href='https://devhide.com/index.php/how-can-i-remove-a-specific-item-from-an-array-in-javascript-5767325'> How can I remove a specific item from an array in JavaScript? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-delete-a-git-branch-locally-and-remotely-2003505'> How do I delete a Git branch locally and remotely? </a> </li> <li> <a href='https://devhide.com/index.php/find-all-files-containing-a-specific-text-string-on-linux-16956810'> Find all files containing a specific text (string) on Linux? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-revert-a-git-repository-to-a-previous-commit-4114095'> How do I revert a Git repository to a previous commit? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-create-an-html-button-that-acts-like-a-link-2906582'> How do I create an HTML button that acts like a link? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-check-out-a-remote-git-branch-1783405'> How do I check out a remote Git branch? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-force-git-pull-to-overwrite-local-files-1125968'> How do I force "git pull" to overwrite local files? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-list-all-files-of-a-directory-3207219'> How do I list all files of a directory? </a> </li> <li> <a href='https://devhide.com/index.php/how-to-check-whether-a-string-contains-a-substring-in-javascript-1789945'> How to check whether a string contains a substring in JavaScript? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-redirect-to-another-webpage-503093'> How do I redirect to another webpage? </a> </li> <li> <a href='https://devhide.com/index.php/how-can-i-iterate-over-rows-in-a-pandas-dataframe-16476924'> How can I iterate over rows in a Pandas DataFrame? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-convert-a-string-to-an-int-in-java-5585779'> How do I convert a String to an int in Java? </a> </li> <li> <a href='https://devhide.com/index.php/does-python-have-a-string-contains-substring-method-3437059'> Does Python have a string 'contains' substring method? </a> </li> <li> <a href='https://devhide.com/index.php/how-do-i-check-if-a-string-contains-a-specific-word-4366730'> How do I check if a string contains a specific word? </a> </li> </ul> </div> <div class="widget"> <script type="text/javascript"> atOptions = { 'key' : '5572168bffcf77d6a9fd611324801b97', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} }; </script> <script type="text/javascript" src="//www.highperformanceformat.com/5572168bffcf77d6a9fd611324801b97/invoke.js"></script> <img src="/img_slug" alt="."> </div> </div> </div> </div> </div> </section> <section class="footer-area pt-80px position-relative"> <span class="vertical-bar-shape vertical-bar-shape-1"></span> <span class="vertical-bar-shape vertical-bar-shape-2"></span> <span class="vertical-bar-shape vertical-bar-shape-3"></span> <span class="vertical-bar-shape vertical-bar-shape-4"></span> <hr class="border-top-gray my-4"> <div class="container"> <div class="row align-items-center pb-4 copyright-wrap"> <div class="col-lg-3"> <p class="copyright-desc copyright--desc fs-14">Copyright © 2021 <a href="https://jogjafile.com/">Jogjafile</a> Inc.</p> </div> <div class="col-lg-9"> <ul class="generic-list-item generic-list-item-hover-underline generic-list-item-inline text-end"> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/disclaimer">Disclaimer</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/privacy-policy">Privacy</a> </li> <li> <a class="nav-link" href="https://devhide.com/index.php/pages/terms-and-conditions">TOS</a> </li> <li> <a class="nav-link" href="https://homegardensmart.com/">Homegardensmart</a> </li> <li> <a class="nav-link" href="https://math.techqa.club/">Math</a> </li> <li> <a class="nav-link" href="https://aftereffectstemplates.net/">Aftereffectstemplates</a> </li> </ul> </div><!-- end col-lg-6 --> </div><!-- end row --> </div><!-- end container --> </section> <div id="back-to-top" data-bs-toggle="tooltip" data-placement="top" style="" data-bs-original-title="Return to top" role=''> <i class="la la-arrow-up"></i> </div> <script src="https://devhide.com/js/jquery-3.4.1.min.js"></script> <script src="https://devhide.com/js/bootstrap.bundle.min.js"></script> <script src="https://devhide.com/js/selectize.min.js"></script> <script src="https://devhide.com/js/main.js"></script> <script src="https://devhide.com/js/hljs.js"></script> <script>hljs.initHighlightingOnLoad();</script> </body> </html>