<?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 Standalone Python Script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288086#M22290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm a complete newbie when it comes to python. I created a python script to create a join using model builder that works great within ArcGIS. With that said I want to be able to run the script within Windows Task Scheduler and am having trouble making it work. The join is between a feature class and a table. When I look at the python script the full path for the table is created but the feature class is referenced by it's layer name without a full path. How do I create a path for the feature class? I assumed it would be something like: C:\filegeodatabase.gdb\featuredataset\featureclass but when I try running it with pythonwin I get at "Returned exit code 0". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 11:29:12 GMT</pubDate>
    <dc:creator>MattZetterman</dc:creator>
    <dc:date>2014-09-05T11:29:12Z</dc:date>
    <item>
      <title>Standalone Python Script</title>
      <link>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288086#M22290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm a complete newbie when it comes to python. I created a python script to create a join using model builder that works great within ArcGIS. With that said I want to be able to run the script within Windows Task Scheduler and am having trouble making it work. The join is between a feature class and a table. When I look at the python script the full path for the table is created but the feature class is referenced by it's layer name without a full path. How do I create a path for the feature class? I assumed it would be something like: C:\filegeodatabase.gdb\featuredataset\featureclass but when I try running it with pythonwin I get at "Returned exit code 0". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 11:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288086#M22290</guid>
      <dc:creator>MattZetterman</dc:creator>
      <dc:date>2014-09-05T11:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Standalone Python Script</title>
      <link>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288087#M22291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When specifying an absolute path, you will need to adjust the syntax.&amp;nbsp; Any of the following will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fc = r"C:\temp\test.gdb\dataset\parcels"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fc = "C:/temp/test.gdb/dataset/parcels"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fc = "C:\\temp\\test.gdb\\dataset\\parcels"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:36:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288087#M22291</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-09-05T12:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Standalone Python Script</title>
      <link>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288088#M22292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:01:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/standalone-python-script/m-p/288088#M22292</guid>
      <dc:creator>MattZetterman</dc:creator>
      <dc:date>2014-09-05T13:01:51Z</dc:date>
    </item>
  </channel>
</rss>

