[Tutor] can't see emacs timer in action

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Jun 15 00:21:00 CEST 2005



On Tue, 14 Jun 2005, Pujo Aji wrote:

> I tried this code in emacs.
> for i in range(3):
>   time.sleep(1)
>   print i
>
> It shows the result but total result not second per second.

Hi Pujo,


In Emacs, you may want to first start up a Python subprocess by using the
keystroke:

    C-c !

and then run Python buffers with:

    C-c C-c

Best of wishes!



More information about the Tutor mailing list