- ipynbファイルをpyファイルに変換 code
import subprocess
subprocess.run(['jupyter', 'nbconvert', '--to', 'script', '*.ipynb'])
# jupyter nbconvert --to script *.ipynb
- ipynbファイルをpyの変換 command
jupyter nbconvert --to script *.ipynb
Go to list of users who liked
More than 5 years have passed since last update.
import subprocess
subprocess.run(['jupyter', 'nbconvert', '--to', 'script', '*.ipynb'])
# jupyter nbconvert --to script *.ipynb
jupyter nbconvert --to script *.ipynb
Register as a new user and use Qiita more conveniently
Go to list of users who liked