Week 43/2017 - Python on Hacker News


The 5 most popular Python related submissions from 2017-10-23 to 2017-10-29.

  • Introduction to web scraping with Python
    • Starting from the basics: Just using the Requests and lxml libraries
    • The author recommends looking into Scrapy next
    • I agree with the comments that recommend separating the scraping and parsing parts
      • Code like a parser for a 3rd party website is bound to break and this should it make a bit easier to maintain
      • You don’t hit their servers hundreds of times during development and debugging
      • Errors can be reproduced
      • Using stored files allows writing tests for the parsers
    • Comments
  • Why Python is Slow: Looking Under the Hood (2014)
    • Comments
  • “Run” the Python Data Science Handbook in your browser
    • The complete O’Reilly Python Data Science Handbook in a Jupyter Notebook
    • Interestingly this is hosted from Microsoft Azure Notebooks, which is Microsoft’s free Jupyter service, never heard about this before
    • Comments
  • Ask HN: What’s the best source to learn idomatic Python?
    • Guy with 15 years of Perl experience wants to learn Python and asks the HN community for advice
    • Luciano Ramalho’s Fluent Python is recommended as the best intermediate level Python book
    • Comments
  • Clojure Interop with R and Python on GraalVM
    • Not interested in Clojure (at this moment)
    • Comments

All submissions via HN search.