<div dir="ltr"><div><div><div>Dear Matthew,<br>  <br></div>    Thank you very much for your interest in my problem. I am adding a few screen shots, which I feel can explain better and the code is attached to the mail. I am just a beginner. <br><br>When I install geany and run the program immediately after installation, every thing goes smooth. no prompting and nothing. I can get error message if there are any errors and others. If it does not contain any error, I will get output and at the end I used to get "press any key to continue.............." message<br></div><div><b><br>From the second session onwards, like once I quit the IDE and start it, </b>when the code is executed, cmd.exe will be executed. Then user access control window pops up asking whether you would like to allow execution of python.exe<br></div></div><br>if the code is free of errors, the output will be displayed and the python.exe will wait there as I have added raw_input() at the end of the program. I will press some button. Then python.exe window closes and I will be left with cmd.exe window showing "press any key to continue........." just like shown in the figure 2.<br><div><br> <img src="cid:ii_i7zql98d0_14c78a7ee527c85b" height="264" width="470"><br><br></div><div>If the code consists of errors, then I will end up like this as shown in the figure below. Even, I can not find what are these errors in the code.<br><br><img src="cid:ii_i7zqunzm1_14c78aea3aab797a" height="264" width="470"><br>​<br></div><div>​<br><br></div><div>  Thank you.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 2, 2015 at 10:44 AM, Matthew Brush <span dir="ltr"><<a href="mailto:mbrush@codebrainz.ca" target="_blank">mbrush@codebrainz.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15-04-02 12:50 AM, Rajendra Prasad wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
     I am using *geany 1.24* with *python 2.7* on *windows7*.<br>
*Problem:* When i execute the python program immediately after<span class=""><br>
installation, It running good with out any problem. But if I execute after<br>
closing the Geany at least once, it first opens the windows command window,<br>
then asks permission to execute python. Then the program executes and two<br>
</span></blockquote>
<br>
When you say "asks permissions" do you mean that Windows UAC where the screen goes dark and a dialog window opens to ask to elevate permissions?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
windows will be opened. One of it will close so fast that I can not read<br>
anything from it. the second window shows the message press enter to<br>
continue...........<br>
<br>
     When I have added, raw_input() at the end of the program, the first<br>
window stood still on successful execution of the program only, but not in<br>
the other instances.<br>
<br>
    I tried in interne to find solution. But I am not able to trace what has<br>
to be done.<br>
<br>
</blockquote>
<br></span>
It's not exactly clear to me what the problem is. Could you explain what you expect to happen, and if possible attach (or pastebin) the script you're running?<br>
<br>
Cheers,<br>
Matthew Brush<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>