Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 581d35f

Browse files
AzzyAzzy
Azzy
authored and
Azzy
committed
update 3
1 parent fbba0a3 commit 581d35f

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed

‎healthcare.jpg

34.8 KB
Loading[フレーム]

‎main.py

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# adding images to document (with hyperlink)
1313
pdf.image("", x=175, y=5, w=30, h=30, link="")
1414
pdf.image("", x=175, y=37, w=30, h=30, link="")
15-
pdf.image("", x=175, y=70, w=30, h=30, link="")
15+
1616
"""
1717

1818
pdf.set_font("Arial", size=17)
@@ -33,9 +33,49 @@
3333

3434
pdf.set_xy(x=10, y=55)
3535
pdf.set_font("Arial", style="B", size=10)
36-
pdf.cell(w=0, h=5, txt="What can you do with Python?")
36+
pdf.cell(w=0, h=5, txt="What can you do with Python?", ln=1)
37+
38+
pdf.set_font("Arial", size=10)
39+
pdf.multi_cell(w=0, h=5, txt="The things you can do with Python are endless! you can create softwares, "+
40+
" websites, automation, data visualization, games, and so much more. "+
41+
" In this article, I will give examples of 5 real-world applications, used by Python.")
42+
43+
# 1. healthcare
44+
pdf.set_xy(x=10, y=75)
45+
pdf.set_font("Arial", style="B", size=10)
46+
pdf.cell(w=0, h=5, txt=" 1. Healthcare", ln=1)
47+
48+
pdf.set_font("Arial", size=10)
49+
pdf.multi_cell(w=0, h=5, txt="The medical industries are able to make better decisions with accurate predictions "+
50+
"by using Python-powered applications, "+
51+
"for example, using Python for image diagnostics or detecting and classifying tumors. "+
52+
"Check out this link for more information: "+
53+
"https://www.datacamp.com/blog/python-in-healthcare-ai-applications-in-hospitals")
54+
55+
# healthcare image
56+
pdf.image("healthcare.jpg", x=10, y=100, w=75, h=45)
57+
58+
pdf.set_xy(x=90, y=100)
59+
pdf.multi_cell(w=0, h=5, txt="Examples of Python applications used in Healthcare:\n" +
60+
"* Parkinson's disease detection\n"+
61+
"* Heart disease detection\n"+
62+
"* Diabetes prediction\n"+
63+
"* Breast cancer detection")
64+
65+
66+
pdf.set_xy(x=10, y=150)
67+
pdf.set_font("Arial", style="B", size=10)
68+
pdf.cell(w=0, h=5, txt=" 2. Data visualization", ln=1)
69+
70+
pdf.set_font("Arial", size=10)
71+
pdf.multi_cell(w=0, h=5, txt="Data visualization "+
72+
""+
73+
""+
74+
""+
75+
"")
76+
77+
3778

38-
pdf.cell(w=0, h=5, txt="Temp", border=1, ln=1)
3979

4080
# name document and add its path
4181
pdf.output("project.pdf")

‎project.pdf

35.5 KB
Binary file not shown.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /