<?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: Save a copy of mxd in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613106#M47824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much @DarrenWiens!&amp;nbsp; It worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly did that do?&amp;nbsp; Make it readable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2015 17:41:19 GMT</pubDate>
    <dc:creator>MitchHolley1</dc:creator>
    <dc:date>2015-12-21T17:41:19Z</dc:date>
    <item>
      <title>Save a copy of mxd</title>
      <link>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613104#M47822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to open an existing .mxd--&amp;gt; add some layers to it--&amp;gt; then save it to a new location.&amp;nbsp; I keep getting the same error over and over which is : &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="71" src="https://community.esri.com/legacyfs/online/159200_pastedImage_2.png" style="height: 71px; width: 800.364px;" width="800" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using arcpy.mapdocument.saveACopy() as well as shutil.copy().&amp;nbsp; But I get the same error.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure it's a simple syntax error, but I've tried re-naming the file, changing the output location... and I still get the same error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&amp;nbsp; Please excuse my elementary knowledge of Python and my ugly script!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/159070_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613104#M47822</guid>
      <dc:creator>MitchHolley1</dc:creator>
      <dc:date>2015-12-21T17:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Save a copy of mxd</title>
      <link>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613105#M47823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing your path references to r'C:\...' style. Your path may be getting escaped by the backslashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14507188816168366" data-renderedposition="50_8_912_16" jivemacro_uid="_14507188816168366"&gt;&lt;P&gt;mxd = arcpy.mapping.MapDocument(r"C:\Users\holleym\Desktop\Projects\temp.mxd")&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613105#M47823</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-21T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Save a copy of mxd</title>
      <link>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613106#M47824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much @DarrenWiens!&amp;nbsp; It worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly did that do?&amp;nbsp; Make it readable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613106#M47824</guid>
      <dc:creator>MitchHolley1</dc:creator>
      <dc:date>2015-12-21T17:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Save a copy of mxd</title>
      <link>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613107#M47825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'r' indicates raw string notation (see &lt;A href="https://docs.python.org/2/tutorial/introduction.html#strings"&gt;here&lt;/A&gt;). It says that the following string is not to be escaped by backslashes. In your example, '\t' is interpreted as 'tab' (see &lt;A href="https://docs.python.org/2/reference/lexical_analysis.html#string-literals"&gt;here&lt;/A&gt; for a list of escape sequences).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/save-a-copy-of-mxd/m-p/613107#M47825</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-21T17:57:35Z</dc:date>
    </item>
  </channel>
</rss>

