<?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: Saving Python Script within Toolbox in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/saving-python-script-within-toolbox/m-p/36001#M2817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;At 10.1, you can &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Python" rel="nofollow" target="_blank"&amp;gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//001500000022000000]Python&lt;/A&gt;&lt;SPAN&gt; Toolbox (.pyt).&amp;nbsp; This contains everything in one script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are still at 10.0, you will indeed need to keep the script with the toolbox.&amp;nbsp; Make sure you use relative paths in this case.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2013 14:37:08 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-07-19T14:37:08Z</dc:date>
    <item>
      <title>Saving Python Script within Toolbox</title>
      <link>https://community.esri.com/t5/python-questions/saving-python-script-within-toolbox/m-p/36000#M2816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you create a python tool, you reference a .py file.&amp;nbsp; The tool has to reference that script to run.&amp;nbsp; So if you want to pick up the tool and take it somewhere else, you have to move the script as well and relink.&amp;nbsp; It seems like it would make sense to be able to store that script in the toolbox somehow.&amp;nbsp; Can you?&amp;nbsp; What good is a tool box if it cant hold all your tools?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 14:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-python-script-within-toolbox/m-p/36000#M2816</guid>
      <dc:creator>RustyRex</dc:creator>
      <dc:date>2013-07-19T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Saving Python Script within Toolbox</title>
      <link>https://community.esri.com/t5/python-questions/saving-python-script-within-toolbox/m-p/36001#M2817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;At 10.1, you can &lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;Python" rel="nofollow" target="_blank"&amp;gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//001500000022000000]Python&lt;/A&gt;&lt;SPAN&gt; Toolbox (.pyt).&amp;nbsp; This contains everything in one script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are still at 10.0, you will indeed need to keep the script with the toolbox.&amp;nbsp; Make sure you use relative paths in this case.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 14:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/saving-python-script-within-toolbox/m-p/36001#M2817</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-07-19T14:37:08Z</dc:date>
    </item>
  </channel>
</rss>

