<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Python on Bitfern</title>
    <link>/tags/python/</link>
    <description>Recent content in Python on Bitfern</description>
    <generator>Hugo</generator>
    <language>en-nz</language>
    <lastBuildDate>Wed, 27 May 2015 11:11:01 +0000</lastBuildDate>
    <atom:link href="/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Can an AI algorithm win fantasy football?</title>
      <link>/blog/fantasy-football-ai-algorithm/</link>
      <pubDate>Wed, 27 May 2015 11:11:01 +0000</pubDate>
      <guid>/blog/fantasy-football-ai-algorithm/</guid>
      <description>&lt;p&gt;If you’ve heard the term &lt;a href=&#34;http://en.wikipedia.org/wiki/Moneyball&#34;&gt;Moneyball&lt;/a&gt;, then you’ll know that in 2002 the Oakland ‘A’s Major League Baseball team began to use statistical analysis to identify and sign undervalued players, in order to compete against their richer competitors. The approach is credited with getting them to the playoffs in both 2002 and 2003 and has since been adopted more widely.&lt;/p&gt;
&lt;p&gt;In the football world, Brentford FC are reportedly embarking on a similar journey using the &lt;a href=&#34;https://decorrespondent.nl/2607/How-data-not-humans-run-this-Danish-football-club/230219386155-d2948861&#34;&gt;data-driven approach proven at their Danish sister club&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Intro to HTQL with Python (2)</title>
      <link>/blog/intro-to-htql-with-python-2/</link>
      <pubDate>Sat, 20 Sep 2014 03:18:07 +0000</pubDate>
      <guid>/blog/intro-to-htql-with-python-2/</guid>
      <description>&lt;p&gt;Following on from &lt;a href=&#34;/blog/intro-to-htql-with-python/&#34; title=&#34;Part 1 of my introduction to HTQL using Python&#34;&gt;part 1&lt;/a&gt;, here is an example of using HTQL to pull data from a table on a webpage.&lt;/p&gt;
&lt;p&gt;We’ll use the Wikipedia list of most expensive football transfers as our source web page. You can check out the list &lt;!-- raw HTML omitted --&gt;here&lt;!-- raw HTML omitted --&gt;. On viewing the page and the HTML source you’ll see that the first row of the table is a header row and that the “player”, “from” and “to” columns contain quite a bit of HTML in order to provide a link to the player/team and a graphical link to their country. Our HTQL will need to cut through this to just get the data that we want.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Intro to HTQL with Python (1)</title>
      <link>/blog/intro-to-htql-with-python/</link>
      <pubDate>Sun, 07 Sep 2014 07:03:11 +0000</pubDate>
      <guid>/blog/intro-to-htql-with-python/</guid>
      <description>&lt;p&gt;HTQL – Hyper-Text Query Language – is a language for querying and extracting content from HTML pages. If SQL is a language to get data from tables within a database, then HTQL is a language to get data from webpages on the internet. It is useful when you need to pull data from the web and there is no web service available to use. An example might be to pull population statistics from Wikipedia.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
