đ§ Available Conversion Tools
The lesson conversion system includes the following tools in the /scripts directory:
lesson_converter.py - Main conversion script
Active
batch_convert.py - Batch process multiple files
Active
demo.py - Interactive command-line demo
Optional
đ JSON to Text (for editing)
Convert JSON lessons to editable text format:
cd scripts/
python3 lesson_converter.py json_to_text ../lessons/lesson_05.json
Result: Creates lesson_05.txt - edit this in any text editor
đ JSON to Word Document
Convert JSON lessons to Word documents for advanced editing:
cd scripts/
python3 lesson_converter.py json_to_word ../lessons/lesson_05.json
Result: Creates lesson_05.docx - edit in Microsoft Word
đ Text/Word back to JSON
Convert edited text or Word documents back to JSON format:
# From text file
python3 lesson_converter.py text_to_json ../lessons/lesson_05.txt
# From Word document
python3 lesson_converter.py word_to_json ../lessons/lesson_05.docx
Result: Creates updated JSON lesson files
đ Batch Operations
Process multiple lessons at once:
# Convert all JSON lessons to text
python3 batch_convert.py json_to_text ../lessons/
# Convert all text files back to JSON
python3 batch_convert.py text_to_json ../lessons/
# Convert all JSON to Word documents
python3 batch_convert.py json_to_word ../lessons/
đ Current Lesson Status
Available Lessons:
lesson_05.json (Transitions & Flow)
â
Fixed & Ready
lesson_transitions_flow.json (Custom Format)
â
Converted
Interactive Lessons System
â
Active
đĄ Quick Tips
- Always backup original JSON files before editing
- Start small - edit one lesson first to get familiar
- Use text editor with syntax highlighting for easier editing
- Keep durations realistic - 180-400 seconds per slide
- Test frequently - convert back to JSON to check for errors