6
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IDLEで以前に入力したコマンドを使用する

Posted at

Pythonでコードをちょっとテストしたい場合、インストール時についてくるIDLEを使用しているのですが、ショートカットが覚えられず毎回困っているので覚え書き。

このようなコードを入力していると、yieldは履歴から編集したほうが早い。。

yield_test.py
def yield_test():
    yield "Number one"
    yield "Number two"
    yield "Number three"

ショートカット
Alt+P : 履歴を戻る
Alt+N : 履歴を進む

6
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?