<?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: Lists: Variables with more than one value - Runtime error&amp;lt;type'...EOFerror&amp;gt; Why? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5989#M527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't use &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;input &lt;/SPAN&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;raw_input &lt;/SPAN&gt;&lt;SPAN&gt;in the Python window in ArcMap. If you'd like to manage user input, rewrite your script as a Python script tool. If you're using the Python window as a learning tool, try using another one like Idle instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 19:57:52 GMT</pubDate>
    <dc:creator>JasonScheirer</dc:creator>
    <dc:date>2012-08-30T19:57:52Z</dc:date>
    <item>
      <title>Lists: Variables with more than one value - Runtime error&amp;lt;type'...EOFerror&amp;gt; Why?</title>
      <link>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5988#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Python Window of my ArcGIS 10.0, I executed the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;gt;&amp;gt;&amp;gt; which_one = input("what month (1-12)? ")\
Runtime error &amp;lt;type 'exceptions.EOFError'&amp;gt;: EOF when reading a line
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help and tell me why I got the error and how to correct the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 19:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5988#M526</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2012-08-30T19:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Lists: Variables with more than one value - Runtime error&lt;type'...EOFerror&gt; Why?</title>
      <link>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5989#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't use &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;input &lt;/SPAN&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;raw_input &lt;/SPAN&gt;&lt;SPAN&gt;in the Python window in ArcMap. If you'd like to manage user input, rewrite your script as a Python script tool. If you're using the Python window as a learning tool, try using another one like Idle instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 19:57:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5989#M527</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-08-30T19:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lists: Variables with more than one value - Runtime error&lt;type'...EOFerror&gt; Why?</title>
      <link>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5990#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jason,&amp;nbsp; Thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, I guess that the Python Window of my ArcGIS 10.0 (after the &amp;gt;&amp;gt;&amp;gt;, typing Import arcpy, Import os, ...) is the interactive mode of IDLE. Am I right in this guessing or not?&amp;nbsp; Secod, I saw "Python Shell" in my 2 books. But, I don't know how I can get the "Python Shell" started from the Python Window of my ArcGIS 10.0 !!??&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the 2 Python books I have and I saw they mention (1) interactive mode of IDLE and (2) script mode of IDLE in the regular Python programming. But in the Python Window of my ArcGIS 10.0,&amp;nbsp; I don't know how to rewrite my script as a Python script tool or to try using IDLE like (1) or (2).&amp;nbsp; Please kindly help, tell me how to do the things you suggested, and respond again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott Chang &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P. S.&amp;nbsp; I have Python version 2.5 in my PC for long time. But I have not used it at all.&amp;nbsp; Is Python version 2.5 still good to do "Lists", etc.?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 13:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/lists-variables-with-more-than-one-value-runtime/m-p/5990#M528</guid>
      <dc:creator>ScottChang</dc:creator>
      <dc:date>2012-09-04T13:23:02Z</dc:date>
    </item>
  </channel>
</rss>

