News for hackers. Stuff that matters.

Show HN: My son's first GitHub repo

I have finally convinced my son to take a step forward to publish something in public domain. As he is learning Python these days, he made a scraper to download Cambridge past papers (GCSE / IGCSE).

If you like it, encourage the kid by pressing the Star button :)

https://github.com/UsamaKashif/CambridgePastPapersDownloader

( 6 comments | 17 points | on HN )
Re:Show HN: My son's first GitHub repo by bla3 on Thursday October 17, 2019 @03:36PM (#21285616)
> If you like it, encourage the kid by pressing the Star button :)

I'd humbly suggest not teaching him to not use internet points as motivation.

Re:Show HN: My son's first GitHub repo by y4mi on Thursday October 17, 2019 @04:38PM (#21286154)
You should show him how how to use 'black' and maybe install pycodestyle. Function names with a starting capital letter shouldn't be done in python. And Camelcase is frowned upon as well.

And if you want to make his life easier show him how to use xpath with lxml. It's way easier to use than what he did. Just press ctrl-f in the 'elements' developer tools and you can test the path interactively

Re:Show HN: My son's first GitHub repo by barbellguy97 on Thursday October 17, 2019 @02:33PM (#21285037)
You're an awesome dad. I hope to teach my (still unborn) son some programming one day!
Re:Show HN: My son's first GitHub repo by s_gourichon on Thursday October 17, 2019 @02:24PM (#21284965)
Hi! How old is your son?
Re:Show HN: My son's first GitHub repo by rinchik on Thursday October 17, 2019 @02:41PM (#21285118)
32..

Haha, kidding. Great question! I'm also curious.

It's great to have motivated parents who are in the industry. And resources these days are just incredible: https://read.macmillan.com/mcpg/code-this-game/

Re:Show HN: My son's first GitHub repo by pythonbase on Thursday October 17, 2019 @02:48PM (#21285187)
19