Untitled
unknown
plain_text
2 years ago
4.7 kB
12
Indexable
from pptx import Presentation
from pptx.util import Inches
# Create a presentation object
prs = Presentation()
# Slide 1: Introduction
slide = prs.slides.add_slide(prs.slide_layouts[0])
title = slide.shapes.title
subtitle = slide.placeholders[1]
title.text = "Health Matters: Understanding Alcohol and Its Impact"
subtitle.text = "A Comprehensive Look at Alcohol Use and Health"
# Slide 2: What is Alcohol?
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "What is Alcohol?"
content.text = ("- Alcohol is a psychoactive substance with dependence-producing properties.\n"
"- Common types include beer, wine, and spirits.\n"
"- Ethanol is the type of alcohol found in alcoholic beverages.")
# Slide 3: Patterns of Alcohol Use
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Patterns of Alcohol Use"
content.text = ("- Social drinking\n"
"- Binge drinking (4+ drinks for women, 5+ drinks for men in about 2 hours)\n"
"- Heavy drinking (8+ drinks per week for women, 15+ drinks per week for men)")
# Slide 4: Short-term Effects of Alcohol
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Short-term Effects of Alcohol"
content.text = ("- Impaired judgment and coordination\n"
"- Increased risk of accidents and injuries\n"
"- Hangovers and dehydration")
# Slide 5: Long-term Effects of Alcohol
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Long-term Effects of Alcohol"
content.text = ("- Liver damage (cirrhosis, hepatitis)\n"
"- Cardiovascular problems (high blood pressure, stroke)\n"
"- Increased risk of cancers (mouth, throat, liver, breast)\n"
"- Mental health issues (depression, anxiety)")
# Slide 6: Alcohol Dependence and Addiction
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Alcohol Dependence and Addiction"
content.text = ("- Signs of alcohol dependence: craving, loss of control, withdrawal symptoms\n"
"- The impact of addiction on personal life and relationships")
# Slide 7: Alcohol and Society
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Alcohol and Society"
content.text = ("- Economic impact (healthcare costs, lost productivity)\n"
"- Social impact (violence, family breakdowns)\n"
"- Legal issues (DUI, public intoxication)")
# Slide 8: Responsible Drinking
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Responsible Drinking"
content.text = ("- Tips for moderate drinking: set limits, alternate with non-alcoholic drinks, eat before drinking\n"
"- Understanding standard drink sizes (beer, wine, spirits)")
# Slide 9: Seeking Help
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Seeking Help"
content.text = ("- Resources for help: counseling, support groups (e.g., Alcoholics Anonymous)\n"
"- Importance of seeking help early")
# Slide 10: Conclusion
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Conclusion"
content.text = ("- Summary of key points\n"
"- Encouragement to make informed decisions about alcohol use\n"
"- Reminder of resources available for those needing help")
# Slide 11: Q&A
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "Questions and Answers"
content.text = "Your Questions About Alcohol and Health"
# Slide 12: References
slide = prs.slides.add_slide(prs.slide_layouts[1])
title = slide.shapes.title
content = slide.placeholders[1]
title.text = "References and Further Reading"
content.text = ("- World Health Organization (WHO)\n"
"- Centers for Disease Control and Prevention (CDC)\n"
"- National Institute on Alcohol Abuse and Alcoholism (NIAAA)")
# Save the presentation
presentation_path = "/mnt/data/Health_Matters_Alcohol_Presentation.pptx"
prs.save(presentation_path)
presentation_path
Editor is loading...
Leave a Comment