Friday, March 18, 2011

[Level 3] How to implement "Press any key to continue" in Python.

When you develop a terminal program,
you always need a function to "Press any key to continue",
but how to implement it in Python script.

I found out a sample on here:
http://code.activestate.com/recipes/134892/

Wish this helps.
regards,
Stanley Huang