<?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: ArcMap Python Window for quick commands in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcmap-python-window-for-quick-commands/m-p/529993#M41494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't be done, sorry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2012 21:10:08 GMT</pubDate>
    <dc:creator>JasonScheirer</dc:creator>
    <dc:date>2012-08-31T21:10:08Z</dc:date>
    <item>
      <title>ArcMap Python Window for quick commands</title>
      <link>https://community.esri.com/t5/python-questions/arcmap-python-window-for-quick-commands/m-p/529992#M41493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been reading into how to use Python's optparse (&lt;/SPAN&gt;&lt;A href="http://docs.python.org/library/optparse.html"&gt;http://docs.python.org/library/optparse.html&lt;/A&gt;&lt;SPAN&gt;) to write a few quick and simple "unix-style" commands (stringing some queries, writing some text files of attributes, etc), and I was wondering if anyone knows if ArcMap's Python Window can support this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know using python in Windows cmd, the user would be able to use an optparse script as 'python &amp;lt;script&amp;gt; -f output.txt', but I'm not sure whether this can be done with the Python Window ... I've seen optparse used with arcpy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002q000000rp000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002q000000rp000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I don't believe this is used within ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any information would be much appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 17:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcmap-python-window-for-quick-commands/m-p/529992#M41493</guid>
      <dc:creator>KevinYanuk</dc:creator>
      <dc:date>2012-08-31T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcMap Python Window for quick commands</title>
      <link>https://community.esri.com/t5/python-questions/arcmap-python-window-for-quick-commands/m-p/529993#M41494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't be done, sorry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 21:10:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcmap-python-window-for-quick-commands/m-p/529993#M41494</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-08-31T21:10:08Z</dc:date>
    </item>
  </channel>
</rss>

