<?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: CreateFeatureClass_management (simple question) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409959#M32325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never liked shortcuts that obscure …&lt;/P&gt;&lt;P&gt;It&amp;nbsp; is 'ok' but not recommended since putting in the featureclass name as a parameter doesn't hide the fact and relying on slicing might lead you to slice the wrong parameter the next time for the next tool that you use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2018 21:17:34 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-10-10T21:17:34Z</dc:date>
    <item>
      <title>CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409956#M32322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was asked about a seemingly simple line of code in one of my scripts and I didn't have an immediate answer.&amp;nbsp; After a few pages of g-search, I'm still a bit stumped, but not afraid to ask for the answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;facFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateFeatureclass_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"in_memory"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"facFC"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"POINT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly is the [0] at the end of this statement for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's examples of having it there and other examples it's not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 20:31:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409956#M32322</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2018-10-10T20:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409957#M32323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-feature-class.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-feature-class.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Create Feature Class—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;CreateFeatureclass_management &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;out_path&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; out_name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;geometry_type&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;template&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;has_m&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;has_z&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;spatial_reference&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;config_keyword&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;spatial_grid_1&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;spatial_grid_2&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;spatial_grid_3&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;out_alias&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the [0] is a slice, meaning get the first, which in your case would be the first... first of what is sketchy.&lt;/P&gt;&lt;P&gt;The above is the preferred by me, approach,&lt;/P&gt;&lt;P&gt;out_path…. the location where the featureclass is going&lt;/P&gt;&lt;P&gt;out_name .. the name to give the featureclass&lt;/P&gt;&lt;P&gt;geometry_type… point, line, polygon stuff&lt;/P&gt;&lt;P&gt;template … if you have a featureclass that you want to use for emulation&lt;/P&gt;&lt;P&gt;has_m, has_z - well? do you want them?&lt;/P&gt;&lt;P&gt;spatial_reference - specify it now! or you have to use the define projection tool&lt;/P&gt;&lt;P&gt;the rest... might be important but not critical if saving to a gdb which would have the info anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note!&amp;nbsp; there is no ….. blah = CreateFeatureclass&lt;/P&gt;&lt;P&gt;because everything is inside the function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409957#M32323</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T18:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409958#M32324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similarly "fuzzy" response when I got the question, I had a hunch that&amp;nbsp;[0] is an index position but not exactly sure to what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Note!&amp;nbsp; there is no ….. blah = CreateFeatureclass&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to reference facFC var on the next line in order to add a field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;facFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateFeatureclass_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"in_memory"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"facFC"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"POINT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AddField_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;facFC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NAME"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"TEXT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;40&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NULLABLE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NON_REQUIRED"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409958#M32324</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-11T18:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409959#M32325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never liked shortcuts that obscure …&lt;/P&gt;&lt;P&gt;It&amp;nbsp; is 'ok' but not recommended since putting in the featureclass name as a parameter doesn't hide the fact and relying on slicing might lead you to slice the wrong parameter the next time for the next tool that you use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 21:17:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409959#M32325</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-10-10T21:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409960#M32326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the [0] indicates the first item in the Result object returned from the tool, which happens to be the new feature class name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/geoprocessing_and_python/using-tools-in-python.htm#ESRI_SECTION1_4BF92292703248F09479E3D45CB23904" title="http://pro.arcgis.com/en/pro-app/arcpy/geoprocessing_and_python/using-tools-in-python.htm#ESRI_SECTION1_4BF92292703248F09479E3D45CB23904"&gt;Using tools in Python—Geoprocessing and Python | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 23:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409960#M32326</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2018-10-10T23:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409961#M32327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Darren points out, nearly all geoprocessing tools return &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/result.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/result.htm"&gt;Result—Help | ArcGIS Desktop&lt;/A&gt; objects, which explains the ArcGIS/ArcPy side of your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Python side of your question, Python classes can emulate container objects by implementing certain special methods:&amp;nbsp; &lt;A class="link-titled" href="https://docs.python.org/2.7/reference/datamodel.html#emulating-container-types" title="https://docs.python.org/2.7/reference/datamodel.html"&gt;3. Data model - Emulating Container Types— Python 2.7.15 documentation&lt;/A&gt;.&amp;nbsp; Support for the indexing and slicing operator, i.e., &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;[]&lt;/SPAN&gt;, is implemented using the &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;object.__getitem__&lt;/SPAN&gt; special method.&amp;nbsp; For the ArcPy Result object, the __getitem__ special method either points to &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Result.getOutput()&lt;/SPAN&gt; or implements the same code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short,&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; Result[0]&lt;/SPAN&gt; is the same as calling &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;Result.getOutput(0)&lt;/SPAN&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 15:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409961#M32327</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-10-11T15:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFeatureClass_management (simple question)</title>
      <link>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409962#M32328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I second what&amp;nbsp;&lt;A href="https://community.esri.com/people/Dan_Patterson" target="_blank"&gt;Dan_Patterson&lt;/A&gt;&amp;nbsp; mentioned.&amp;nbsp; I normally define the output and other variable at the start of the script and use in this case the os module to split the path and name in a path and a name. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os

fc_out &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\some\path\to\outputfgdb.gdb\YourFeatureclass'&lt;/SPAN&gt;

ws&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fc_name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc_out&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CreateFeatureclass_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ws&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; fc_name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; etc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AddField_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc_out&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; YourFieldName&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; etc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/createfeatureclass-management-simple-question/m-p/409962#M32328</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T18:37:41Z</dc:date>
    </item>
  </channel>
</rss>

