Input problem
Ivan Ševčík <[email protected]> Fri, 22 Apr 2011 00:05:46 +0200
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <[email protected]> |
--===============1908129143==
Content-Type: multipart/alternative;
boundary="_521de895-9a61-4c42-95ef-099e3635dc40_"
--_521de895-9a61-4c42-95ef-099e3635dc40_
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
I am started a weeak ago with python=2C and yesterday I wodnloaded for my m=
obile.
However I feel that something got wrong. The problem is that when I run a s=
cript on computer that requires input=2C prints something and agains requir=
e input (that second just prevents from script closing before reading outpu=
t)=2C i get what I want - example :=20
Enter value10
10
Enter for exit
That's not the case with pythonCE. It creates dialog=2C I enter value=2C no=
thing is printed out and I am again prompted for exit. I find that quite st=
range as it's the very same code and it acts like after input is output or =
all commands ignored.=20
My code:
x =3D input("Enter value")
print x
raw_input("Enter for exit")
Thanks for help as this is an issue I can't move along with..
=
--_521de895-9a61-4c42-95ef-099e3635dc40_
Content-Type: text/html; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style>
</head>
<body class=3D'hmmessage'>
I am started a weeak ago with python=2C and yesterday I wodnloaded for my m=
obile.<br>However I feel that something got wrong. The problem is that when=
I run a script on computer that requires input=2C prints something and aga=
ins require input (that second just prevents from script closing before rea=
ding output)=2C i get what I want - example : <br>Enter value10<br>10<br>En=
ter for exit<br><br>That's not the case with pythonCE. It creates dialog=2C=
I enter value=2C nothing is printed out and I am again prompted for exit. =
I find that quite strange as it's the very same code and it acts like after=
input is output or all commands ignored. <br>My code:<br>x =3D input("Ente=
r value")<br>print x<br>raw_input("Enter for exit")<br><br>Thanks for help =
as this is an issue I can't move along with..<br> </body>
</html>=
--_521de895-9a61-4c42-95ef-099e3635dc40_--
--===============1908129143==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
PythonCE mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythonce
--===============1908129143==--