Re: in python , could I accomplish the purpose that a=Console.read() used in C?

2006-06-05 Thread Ravi Teja

Bruno Desthuilliers wrote:
 python a écrit :
  in python , could I accomplish the purpose that a=Console.read() used
  in C?

 ot mode='pedantic'
 There's nothing like Console.read() in ansi-C.
 /ot

He probably got it mixed up with C# which ( almost - Console.Read() )
has that.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: in python , could I accomplish the purpose that a=Console.read() used in C?

2006-06-05 Thread Bruno Desthuilliers
Ravi Teja a écrit :
 Bruno Desthuilliers wrote:
 
python a écrit :

in python , could I accomplish the purpose that a=Console.read() used
in C?

ot mode='pedantic'
There's nothing like Console.read() in ansi-C.
/ot
 
 
 He probably got it mixed up with C# which ( almost - Console.Read() )
 has that.
 
Yeps. Or may be MS-C++ too AFAICT.
-- 
http://mail.python.org/mailman/listinfo/python-list


in python , could I accomplish the purpose that a=Console.read() used in C?

2006-06-04 Thread python
in python , could I accomplish the purpose that a=Console.read() used
in C?
when program is running, I wanna add a statement like
a=Console.read() in C language,it will wait for user's input, after
user's typing a character , and click enter key, the program will go
on running.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: in python , could I accomplish the purpose that a=Console.read() used in C?

2006-06-04 Thread Dennis Benzinger
python wrote:
 in python , could I accomplish the purpose that a=Console.read() used
 in C?
 when program is running, I wanna add a statement like
 a=Console.read() in C language,it will wait for user's input, after
 user's typing a character , and click enter key, the program will go
 on running.
 


Use raw_input() http://docs.python.org/lib/built-in-funcs.html:

age = raw_input(Your age: )
print age


Bye,
Dennis
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [OT] in python , could I accomplish the purpose that a=Console.read() used in C?

2006-06-04 Thread Bruno Desthuilliers
python a écrit :
 in python , could I accomplish the purpose that a=Console.read() used
 in C?

ot mode='pedantic'
There's nothing like Console.read() in ansi-C.
/ot

(see Dennis's post for the answer to your question)
-- 
http://mail.python.org/mailman/listinfo/python-list