Bruno Jesus a écrit : > Does anyone know a way of interrupting a loop > by pressing a key (besides ctrl-c)? No hit key solution sorry, but may help : if (file.exists('zefile')) stop() allows to stop given zefile is created