<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[input from REPL console to FiPy]]></title><description><![CDATA[<p dir="auto">I have one of these in my test program - not in a loop</p>
<pre><code>msg=input('Enter message -=&gt; ')
</code></pre>
<p dir="auto">When I run the program I get</p>
<pre><code>Enter message -=&gt; 
Enter message -=&gt; Enter message -=&gt; 
Enter message -=&gt; abcdef
</code></pre>
<p dir="auto">So what happened was that I got 4 prompts.  Only the last one blocked waiting for me to enter &quot;abcdef&quot;.</p>
<p dir="auto">This is not a huge issue because I can ignore the empty strings that come back from the first 3 prompts.  It's untidy though and there will be cases where a null string is a valid answer.</p>
]]></description><link>https://forum.pycom.io/topic/6452/input-from-repl-console-to-fipy</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 03:09:48 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/6452.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Oct 2020 16:28:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to input from REPL console to FiPy on Sat, 17 Oct 2020 16:28:53 GMT]]></title><description><![CDATA[<p dir="auto">I have one of these in my test program - not in a loop</p>
<pre><code>msg=input('Enter message -=&gt; ')
</code></pre>
<p dir="auto">When I run the program I get</p>
<pre><code>Enter message -=&gt; 
Enter message -=&gt; Enter message -=&gt; 
Enter message -=&gt; abcdef
</code></pre>
<p dir="auto">So what happened was that I got 4 prompts.  Only the last one blocked waiting for me to enter &quot;abcdef&quot;.</p>
<p dir="auto">This is not a huge issue because I can ignore the empty strings that come back from the first 3 prompts.  It's untidy though and there will be cases where a null string is a valid answer.</p>
]]></description><link>https://forum.pycom.io/post/35021</link><guid isPermaLink="true">https://forum.pycom.io/post/35021</guid><dc:creator><![CDATA[paul_tanner]]></dc:creator><pubDate>Sat, 17 Oct 2020 16:28:53 GMT</pubDate></item><item><title><![CDATA[Reply to input from REPL console to FiPy on Mon, 19 Oct 2020 11:40:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Thanks for noticing! I can indeed reproduce the issue and will add it to the bug log<br />
Best,<br />
Gijs</p>
]]></description><link>https://forum.pycom.io/post/35056</link><guid isPermaLink="true">https://forum.pycom.io/post/35056</guid><dc:creator><![CDATA[Gijs]]></dc:creator><pubDate>Mon, 19 Oct 2020 11:40:54 GMT</pubDate></item></channel></rss>