ipython nbconvert "Week 4 - (Optional) Euler Buckling.ipynb" --to slides --post serve --template slides.tpl
import os
files = os.listdir('.')
for name in files:
if 'Week' in name:
cmd = 'ipython nbconvert "%s" --to slides --template slides.tpl'%name
os.system(cmd)
files
['Week 12 - Excavation.ipynb', 'Week 8 - Column Forms.ipynb', 'Week 6 - (Optional) Span Length Derivations.ipynb', 'Slide Converter.ipynb', 'Lecture Audio', 'Week 2 - Introduction to Timber NDS.ipynb', 'Week 5 - Braced Wall (Part - 1 Compression Bracing).ipynb', 'Week 5 - Slab Braces.ipynb', 'Week 7 - Wall Forms.ipynb', 'Week 2 - Tributary Width vs Tributary Area.ipynb', '.ipynb_checkpoints', 'Week 1 - How to Complete Team and Individual Assignments.ipynb', 'Week 1 - Class Introduction.ipynb', 'Week 5 - Braced Wall (Part - 2 Tension Bracing with Fasteners) .ipynb', 'Week 7 - Wall Forms - Using Tables.ipynb', 'Week 6 - Importance of Formwork Safety.ipynb', 'Week 5 - (Optional) Bracing Stiffness Requirements.ipynb', 'Rubrics and Excel Help.ipynb', 'Week 4 - (Optional) Euler Buckling.ipynb', 'Week 13 - Equipment.ipynb', 'README.md', 'Week 9 - Slab Forms.ipynb', 'Resources.ipynb', 'Week 9 - Slab Forms - Using Tables.ipynb', 'Intro', 'Week 11 - Scaffolding.ipynb', 'Week 3 - Timber Beam Lecture.ipynb', 'Week 4 - Timber Column Lecture.ipynb', 'Week 10 - Reshoring.ipynb', 'Week 2 - Introduction to Wood as a Building Material.ipynb', '.git', 'Week 0 - Greetings.ipynb']
!ls
fixed_mathjax.tpl Intro Lecture Audio README.md Resources.ipynb Rubrics and Excel Help.ipynb Slide Converter.ipynb slides.tpl Week 0 - Greetings.ipynb Week 0 - Greetings.slides.html Week 10 - Reshoring.ipynb Week 10 - Reshoring.slides.html Week 11 - Scaffolding.ipynb Week 11 - Scaffolding.slides.html Week 12 - Excavation.ipynb Week 12 - Excavation.slides.html Week 13 - Equipment.ipynb Week 13 - Equipment.slides.html Week 1 - Class Introduction.ipynb Week 1 - Class Introduction.slides.html Week 1 - How to Complete Team and Individual Assignments.ipynb Week 1 - How to Complete Team and Individual Assignments.slides.html Week 2 - Introduction to Timber NDS.ipynb Week 2 - Introduction to Timber NDS.slides.html Week 2 - Introduction to Wood as a Building Material.ipynb Week 2 - Introduction to Wood as a Building Material.slides.html Week 2 - Tributary Width vs Tributary Area.ipynb Week 2 - Tributary Width vs Tributary Area.slides.html Week 3 - Timber Beam Lecture.ipynb Week 3 - Timber Beam Lecture.slides.html Week 4 - (Optional) Euler Buckling.ipynb Week 4 - (Optional) Euler Buckling.slides.html Week 4 - Timber Column Lecture.ipynb Week 4 - Timber Column Lecture.slides.html Week 5 - Braced Wall (Part - 1 Compression Bracing).ipynb Week 5 - Braced Wall (Part - 1 Compression Bracing).slides.html Week 5 - Braced Wall (Part - 2 Tension Bracing with Fasteners) .ipynb Week 5 - Braced Wall (Part - 2 Tension Bracing with Fasteners) .slides.html Week 5 - (Optional) Bracing Stiffness Requirements.ipynb Week 5 - (Optional) Bracing Stiffness Requirements.slides.html Week 5 - Slab Braces.ipynb Week 5 - Slab Braces.slides.html Week 6 - Importance of Formwork Safety.ipynb Week 6 - Importance of Formwork Safety.slides.html Week 6 - (Optional) Span Length Derivations.ipynb Week 6 - (Optional) Span Length Derivations.slides.html Week 7 - Wall Forms.ipynb Week 7 - Wall Forms.slides.html Week 7 - Wall Forms - Using Tables.ipynb Week 7 - Wall Forms - Using Tables.slides.html Week 8 - Column Forms.ipynb Week 8 - Column Forms.slides.html Week 9 - Slab Forms.ipynb Week 9 - Slab Forms.slides.html Week 9 - Slab Forms - Using Tables.ipynb Week 9 - Slab Forms - Using Tables.slides.html
os.system('ls -l > list.txt')
0