<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python script for relative path not working in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233620#M18133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it you have the path before each one. The reason I'm thinking this is an issue, is the u in your list of file names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2015 18:36:53 GMT</pubDate>
    <dc:creator>SepheFox</dc:creator>
    <dc:date>2015-04-21T18:36:53Z</dc:date>
    <item>
      <title>Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233612#M18125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a short script that reads a text file with a list of folders. For each folder it cycles through every MXD file and sets them to relative paths. For some reason the result of running this python script in the ArcCatalog command line is it only set MXDs to relative path in the last folder on my list. If my input list contains three file folders it only works on files in the third folder. If my input list contains 4 file folders it only works on those in the fourth folder. I added some Print commands to keep watch on the Workspace and filepath variables. This tells me that it correctly obtains the folder name every time but doesn't see the MXDs in the first folders. It appears that the inside loop is not running at all until it gets to the last iteration of the outside loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I'm close to getting this to work but I am currently frustrated and would really appreciate your input!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;EM&gt;import arcpy&lt;BR /&gt;import os&lt;BR /&gt;import sys&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;EM&gt;os.chdir("u:\jthomas")&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;EM&gt;f=open('testpaths2.txt','r')&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #909090; font-family: Arial;"&gt;&lt;EM&gt;# xreadlines methods used to access one row/line at a time from large text list of folder names&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;EM&gt;for line in f.xreadlines():&lt;BR /&gt; Workspace = line&lt;BR /&gt; arcpy.env.workspace = Workspace&lt;BR /&gt; &lt;SPAN style="color: #909090;"&gt;#print command used to watch current folder value&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN style="color: #222222; font-size: 10pt; font-family: Arial;"&gt;print Workspace&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;BR /&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;mxdList = arcpy.ListFiles ("*.mxd")&lt;BR /&gt; for fileobj in mxdList:&lt;BR /&gt;&amp;nbsp; filepath=os.path.join(Workspace, fileobj)&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #909090;"&gt;#print command used to watch filepath variable&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; print filepath&lt;BR /&gt;&amp;nbsp; mxd=arcpy.mapping.MapDocument(filepath)&lt;BR /&gt;&amp;nbsp; mxd.relativePaths = True&lt;BR /&gt;&amp;nbsp; mxd.save()&lt;BR /&gt;&lt;SPAN style="color: #909090;"&gt;#print command used to watch line value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;EM&gt;print line&lt;BR /&gt;f.close()&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;STRONG&gt;The file 'testpaths2.txt' is a list of filepaths. Each filepath is followed by a hard return.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;STRONG&gt;-j-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial;"&gt;&lt;STRONG&gt;Jason Thomas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 16:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233612#M18125</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233613#M18126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to tell, but do you have your inside loop indented within your outside loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 17:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233613#M18126</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-21T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233614#M18127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - when I pasted in the code the tabs showed up as only single spaces. I typed in the tabs manually in the forum box this time so they show up better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;import os&lt;/P&gt;&lt;P&gt;import sys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;os.chdir("u:\jthomas")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f=open('testpaths.txt','r')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for line in f.xreadlines():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Workspace = line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = Workspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print Workspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxdList = arcpy.ListFiles("*.mxd")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for fileobj in mxdList:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filepath=os.path.join(Workspace, fileobj)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print filepath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd=arcpy.mapping.MapDocument(filepath)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.relativePaths = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print line&lt;/P&gt;&lt;P&gt;f.close()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 17:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233614#M18127</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T17:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233615#M18128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried printing mxdList?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233615#M18128</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-21T18:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233616#M18129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - I just tried your suggestion. I inserted the print mxdList right after the line that sets up mxdList. It is printing a blank a line and the text, &lt;STRONG&gt;[] &lt;/STRONG&gt;for each folder until it gets to the last folder. At that point it prints a list of file names (not full paths) inside the square brackets (see below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[u'file1.mxd', u'file.mxd', u'file.mxd']&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it seems that it isn't getting a proper execution of the .ListFiles method until it hits the end of the folders in the input file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233616#M18129</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T18:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233617#M18130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try putting your path like this:&amp;nbsp;&amp;nbsp; r"u:\jthomas"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233617#M18130</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-21T18:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233618#M18131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean inside the text file that has the lists of files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233618#M18131</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T18:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233619#M18132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, I also tried using the following two lines to clean the file path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked in that the script starting working in the first folder I supplied. However once it got done with the first folder it throws an error on the line that 'for file in mxdList'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;templine=line.strip()&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Workspace = templine&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233619#M18132</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T18:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233620#M18133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it you have the path before each one. The reason I'm thinking this is an issue, is the u in your list of file names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233620#M18133</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-21T18:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233621#M18134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I tried that fix to the input file. I got the output below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r"G:\Clients\Liberty Groves - 1824\18240701-Liberty Groves\GIS\Map\Output_to_Hogle"&lt;/P&gt;&lt;P&gt;None&lt;/P&gt;&lt;P&gt;Runtime error &lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 14, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;TypeError: 'NoneType' object is not iterable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233621#M18134</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T18:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233622#M18135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found the solution. The combination of the strip method and NOT having a "/" at the end of each folder path in the list (input file) made it work in all the folders this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the final code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;import os&lt;/P&gt;&lt;P&gt;import sys&lt;/P&gt;&lt;P&gt;os.chdir("u:\jthomas")&lt;/P&gt;&lt;P&gt;f=open('testpaths.txt','r')&lt;/P&gt;&lt;P&gt;for line in f.xreadlines():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #this next line appears to fix the problem of not entering first folders&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; templine=line.strip()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Workspace = templine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.workspace = Workspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print Workspace&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxdList = arcpy.ListFiles("*.mxd")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print mxdList&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for file in mxdList:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filepath=os.path.join(Workspace, file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print filepath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd=arcpy.mapping.MapDocument(filepath)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.relativePaths = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print line&lt;/P&gt;&lt;P&gt;f.close()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input file format below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g:\clientA\project1\GIS\Map&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks For your help working through this Sephe Fox! I appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 18:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233622#M18135</guid>
      <dc:creator>JasonThomas2</dc:creator>
      <dc:date>2015-04-21T18:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233623#M18136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how much I helped, but you're welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 19:07:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233623#M18136</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-21T19:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Python script for relative path not working</title>
      <link>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233624#M18137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migration-blogpost/1070"&gt;Posting Code blocks in the new GeoNet&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 20:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-for-relative-path-not-working/m-p/233624#M18137</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-04-21T20:17:13Z</dc:date>
    </item>
  </channel>
</rss>

