while os.clock() - t0 <= n do end. end. --方法2. --调用系统的sleep函数,不消耗CPU,但是Windows系统中没有内置这个命令(如果你又安装Cygwin神马的也行)。
確定! 回上一頁