Skip to content

Commit 2de355f

Browse files
authored
Add files via upload
1 parent e8501f6 commit 2de355f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

__build_booklist__.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
w = """
2+
+
3+
Building Machine Learning Systems with Python [eBook]
4+
5+
+
6+
Python for Secret Agents [eBook]
7+
8+
+
9+
Python 3 Object Oriented Programming [eBook]
10+
11+
+
12+
Learning Python Design Patterns [eBook]
13+
14+
+
15+
wxPython 2.8 Application Development Cookbook [eBook]"""
16+
17+
books = []
18+
for line in w.split("\n"):
19+
if line.startswith("+") or line == "":
20+
pass
21+
else:
22+
books.append(line.replace(" [eBook]",""))
23+
books.sort()
24+
25+
for book in books:
26+
print(book)
27+
28+
print(f"\n{ '-' * 20 }\nYou have { len(books) } books.")
29+
30+
31+
32+

0 commit comments

Comments
 (0)