Untitled
unknown
plain_text
6 days ago
2.2 kB
3
Indexable
Never
from docx import Document # Create a new Document doc = Document() doc.add_heading('Daily Schedule', 0) # Add the schedule content schedule = [ ("6:30 AM – Wake Up", [ "6:30 – 7:00 AM: Get ready, breakfast, prepare for school", "7:00 – 7:20 AM: Quick mindfulness exercise (deep breathing or short meditation)" ]), ("7:20 AM – 2:10 PM – School", []), ("2:10 – 2:30 PM – Unwind/Relax", [ "Take a few minutes to decompress after school, have a snack, and take a short break." ]), ("2:30 – 3:30 PM – Homework/Study Time", [ "Use this time to get some homework done before your sister needs you." ]), ("3:30 – 3:50 PM – Take Care of Sister", []), ("3:50 – 4:20 PM – Homework/Study Time", [ "Finish up any remaining homework or studying so you’re free later." ]), ("4:20 – 5:00 PM – Workout (based on your workout plan)", [ "Use this time for your workout to help manage stress and build up a good physical routine." ]), ("5:00 – 6:00 PM – Relaxation/Me Time", [ "Do something calming like listening to music, journaling, or just relaxing." ]), ("6:00 – 7:00 PM – Dinner/Family Time", [ "Spend time with family, have dinner, and relax together." ]), ("7:00 – 8:30 PM – Hobbies/Creative Time", [ "Dedicate time to hobbies like drawing, gaming, or other enjoyable activities." ]), ("8:30 – 9:30 PM – Free Time/TV/Chill", [ "Unwind with a show or relax." ]), ("9:30 – 10:00 PM – Light Reading/Relaxation", [ "Wind down before bed with light reading or calm activities." ]), ("10:00 – 10:30 PM – Prepare for Bed", [ "Skincare, prepare for the next day, and do any nighttime rituals to help you sleep." ]), ("10:30 PM – Sleep", []) ] # Add each schedule entry to the document for time_period, activities in schedule: doc.add_heading(time_period, level=1) for activity in activities: doc.add_paragraph(activity) # Save the document file_path = "/mnt/data/Daily_Schedule_User.docx" doc.save(file_path) file_path
Leave a Comment