スリープする sleep

>>> import time
>>> time.sleep(3)

time.sleepで指定した秒数スリープできる。
1秒以下のスリープは少数で指定可能。

関連記事:

スリープする sleep」への1件のフィードバック

  1. wpqpqwww

    #タイピング.py
    def iss():
    from tkinter import*
    import random
    def lhss():
    bb = 1
    lists = [‘import’, ‘the inter’, ‘input()’, ‘1*10*100*1000’, ‘rannrannru-‘, ‘atom’, ‘the end’, ‘atohokanimotuikasareruyo’]
    def tss():
    window = Tk()
    zahyou = 500
    random.shuffle(lists)
    window.title(‘タイピング’)
    c = Canvas(window, width=zahyou, height=zahyou, bg=’blue’)
    c.pack()
    bn = Button(window, text = ‘ok’).place(x=zahyou-50, y=zahyou-50)
    l = Text(window, text=lists[int([bb])].place(x=zahyou/2, y=zahyou/2)
    iss()
    lhss()
    tss()
    input()
    をatomでやってエラーが出ますどうしたらいいでしょうか

    返信

wpqpqwww へ返信する コメントをキャンセル

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)