On Wednesday, April 18, 2012 1:56:46 PM UTC+8, oglop wrote: > > hi , i want to break from a loop if user press escape key, how could i do > that ? > under linux , so no msvcrt, is there a platform independent way ? > > > for i in range (1,100): > if not escape pressed: > currentTime(i) # simming syflex, so this step is slow > > > >
-- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe