<?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: Why Runtime error EOF when reading a line with INPUT function in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315951#M24585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point...I hadn't realized that it was that great tool...thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carme&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 07:07:32 GMT</pubDate>
    <dc:creator>CarmeCaum</dc:creator>
    <dc:date>2012-01-19T07:07:32Z</dc:date>
    <item>
      <title>Why Runtime error EOF when reading a line with INPUT function</title>
      <link>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315949#M24583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to program a function that asks to the user for the values of some of its parameters. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I simply wrote and execute the Python prompt from ArcGIS 10:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;x= input("Enter the number of rows")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error &amp;lt;type 'exceptions.EOFError'&amp;gt;: EOF when reading a line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is really strange because it works correctly in Python 2.6 that has been installed with ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carme&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 09:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315949#M24583</guid>
      <dc:creator>CarmeCaum</dc:creator>
      <dc:date>2012-01-17T09:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why Runtime error EOF when reading a line with INPUT function</title>
      <link>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315950#M24584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Carme,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are creating a custom tool to use within ArcMap, you should consider using the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000014000000"&gt;arcpy.GetParameterAsText&lt;/A&gt;&lt;SPAN&gt; function.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00150000000n000000.htm"&gt;Here&lt;/A&gt;&lt;SPAN&gt; is some further information on how to set a script tool's parameters.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 11:51:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315950#M24584</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-01-17T11:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why Runtime error EOF when reading a line with INPUT function</title>
      <link>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315951#M24585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point...I hadn't realized that it was that great tool...thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carme&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 07:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-runtime-error-eof-when-reading-a-line-with/m-p/315951#M24585</guid>
      <dc:creator>CarmeCaum</dc:creator>
      <dc:date>2012-01-19T07:07:32Z</dc:date>
    </item>
  </channel>
</rss>

