1
1

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 1 year has passed since last update.

【備忘録】ノートブック(ipynbファイル)をpyファイルに変換する

Posted at

Jupyter lab上でpyファイルに変換

1.pyファイルにしたいノートブックを選択。
2.「File」から「Save and Export Notebook As」を選択し、その中の「Executable Script」を選択。
3.Downloadフォルダに保存される。

pyファイルの実行

1.ファイルのあるディレクトリに移動
2.python ファイル名.py を実行

1
1
1

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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?