Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: My son's first GitHub repo
17 points by pythonbase on Oct 17, 2019 | hide | past | favorite | 6 comments
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



> 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.


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


You're an awesome dad. I hope to teach my (still unborn) son some programming one day!


Hi! How old is your son?


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/


19




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: