<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>can&amp;#39;t take user input when I run the python script as input file on ipython Interactive mood</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95957/can-t-take-user-input-when-i-run-the-python-script-as-input-file-on-ipython-interactive-mood</link><description>I working on Script base provisioning in that i using a user input. so I generally try a simple input function to print something the file feed to ipython as input txt file as shown in figure. when I run the command they don&amp;#39;t ask for the user input.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Jan 2023 13:22:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95957/can-t-take-user-input-when-i-run-the-python-script-as-input-file-on-ipython-interactive-mood" /><item><title>RE: can't take user input when I run the python script as input file on ipython Interactive mood</title><link>https://devzone.nordicsemi.com/thread/407110?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 13:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:813fe9ba-66d0-4cd8-a3ba-d4d1249159f6</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="python"&gt;d = input(&amp;quot;enter your name&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Try this instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't take user input when I run the python script as input file on ipython Interactive mood</title><link>https://devzone.nordicsemi.com/thread/406604?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 09:27:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:614672e9-5f0d-416d-bfce-d1661ba545fd</guid><dc:creator>Muhammad Kashif</dc:creator><description>&lt;p&gt;also when I want to print the string from input same they just print the statement and not take any input from the user.&lt;/p&gt;
&lt;p&gt;please you just dry the same ? you will know what i want exactly? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't take user input when I run the python script as input file on ipython Interactive mood</title><link>https://devzone.nordicsemi.com/thread/406503?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 15:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96183d15-961e-494a-8ba9-e15cd04875b0</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not entirely sure what you are trying to do, but I guess when you are trying to cast the &amp;#39; &amp;#39; string to integer is where it goes wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>