Skip to content

Commit e1b7f07

Browse files
committed
added lesson notes and change code for better readibility for begineers
1 parent b0e141a commit e1b7f07

File tree

13 files changed

+468
-9
lines changed

13 files changed

+468
-9
lines changed
File renamed without changes.
File renamed without changes.

Lesson3/NOTES.md

Lines changed: 430 additions & 0 deletions
Large diffs are not rendered by default.

Lesson3/resources/htmlorigin.PNG

25.5 KB
Loading
180 KB
Loading

Lesson3/resources/setupPelican.png

462 KB
Loading

Lesson3/resources/table.png

370 KB
Loading

Lesson3/resources/theme.png

39.8 KB
Loading

Lesson3/wiki_scrape.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@
1414
info_list = []
1515

1616
for i in range(len(data)):
17-
if i is 0:
18-
continue
19-
entry = tuple(
20-
[e.text.replace("\n", "").replace("\xa0", "")
21-
for e in data[i].findAll("td") if e.text != "\n"]
22-
)
23-
if(entry):
17+
entry = [
18+
e.text.replace("\n", "").replace("\xa0", "")
19+
for e in data[i].findAll("td") if e.text != "\n"
20+
]
21+
22+
if(len(entry) != 0):
2423
info_list.append(entry)
2524

26-
# print(info_list)
2725
for s in info_list:
2826
print(s)
2927

Lesson4/NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Pyfun Workshop 4
2+
3+
## GUI programming with Python
4+
5+
We will be using a popular python framwork called [Kivy](https://kivy.org/doc/stable/).

0 commit comments

Comments
 (0)