Skip to content
Merged

Pcc03 #849

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
**pyc
**swp
**log
**.pyc
**.swp
**__pycache__
**.venv
**venv
**drafts
**.cache
**sqlite
**sqlite3
**.idea
**.vscode
**.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions 03/rhys/rss.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>PyBites</title><link>http://pybit.es/</link><description>Python code challenges, tutorials and news, one bite a day</description><lastBuildDate>Tue, 17 Jan 2017 00:01:00 +0100</lastBuildDate><item><title>List of Awesome Python Resources</title><link>http://pybit.es/awesome_python_resources.html</link><description>&lt;p&gt;A great list of Python Resources that should keep you busy for a while!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Tue, 17 Jan 2017 00:01:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-17:/awesome_python_resources.html</guid><category>python</category><category>tips</category><category>tricks</category><category>resources</category><category>flask</category><category>cron</category><category>tools</category></item><item><title>Code Challenge 02 - Word Values Part II - a simple game</title><link>http://pybit.es/codechallenge02.html</link><description>&lt;p&gt;Using what we've learned the last challenge this week we build a simple Scrabble-like game: given a random set of 7 letters build the most valuable word. Good luck!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PyBites</dc:creator><pubDate>Mon, 16 Jan 2017 00:01:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-16:/codechallenge02.html</guid><category>scrabble</category><category>code challenges</category><category>github</category><category>fork</category><category>learning</category><category>game</category><category>itertools</category><category>random</category><category>sets</category></item><item><title>Twitter digest 2017 week 02</title><link>http://pybit.es/twitter_digest_201702.html</link><description>&lt;p&gt;On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PyBites</dc:creator><pubDate>Sat, 14 Jan 2017 00:05:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-14:/twitter_digest_201702.html</guid><category>twitter</category><category>news</category><category>python</category><category>podcasts</category><category>data science</category><category>challenges</category><category>APIs</category><category>conda</category><category>3.6</category></item><item><title>Code Challenge 01 - Word Values Part I - Review</title><link>http://pybit.es/codechallenge01_review.html</link><description>&lt;p&gt;Wow! We have been amazed by the great response on &lt;a href="https://github.com/pybites/challenges"&gt;github&lt;/a&gt; and &lt;a href="https://news.ycombinator.com/item?id=13352447"&gt;HN&lt;/a&gt;. It's Friday so we review the code challenge of this week. We describe our learning and a possible solution. We will also digest comments left on the &lt;a href="http://pybit.es/codechallenge01.html"&gt;Monday post&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PyBites</dc:creator><pubDate>Fri, 13 Jan 2017 12:40:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-13:/codechallenge01_review.html</guid><category>code challenges</category><category>code review</category><category>HN</category><category>github</category><category>learning</category><category>max</category><category>generators</category><category>scrabble</category><category>refactoring</category></item><item><title>5 cool things you can do with itertools</title><link>http://pybit.es/itertools-examples.html</link><description>&lt;p&gt;Itertools is a very useful module. In this short post I show some 5 examples how you can use it. Some of this stuff might be useful in next week's challenge ...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Thu, 12 Jan 2017 23:55:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-12:/itertools-examples.html</guid><category>iterators</category><category>itertools</category><category>tricks</category><category>generator</category><category>games</category><category>notebooks</category><category>permutations</category></item><item><title>Create a Simple Web Scraper with BeautifulSoup4</title><link>http://pybit.es/simplewebscraper.html</link><description>&lt;p&gt;Learn to create a simple web scraper in Python using BeautifulSoup4&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Wed, 11 Jan 2017 13:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-11:/simplewebscraper.html</guid><category>python</category><category>tips</category><category>tricks</category><category>code</category><category>pybites</category><category>beautifulsoup</category><category>bs4</category><category>webscraping</category><category>namedtuple</category></item><item><title>Beautiful, idiomatic Python</title><link>http://pybit.es/beautiful-python.html</link><description>&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=OSGv2VnC0go"&gt;Transforming Code into Beautiful, Idiomatic Python&lt;/a&gt; is a must-watch to write more Pythonic code. In this post some highlights.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Tue, 10 Jan 2017 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-10:/beautiful-python.html</guid><category>pythonic</category><category>cleancode</category><category>collections</category><category>2vs3</category><category>namedtuple</category><category>decorators</category><category>contextmanagers</category></item><item><title>Code Challenge 01 - Word Values Part I</title><link>http://pybit.es/codechallenge01.html</link><description>&lt;p&gt;Our first weekly code challenge is to calculate the (language) dictionary word that would have the most value in Scrabble. Enjoy and let us know if you like this format.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PyBites</dc:creator><pubDate>Mon, 09 Jan 2017 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-09:/codechallenge01.html</guid><category>scrabble</category><category>tdd</category><category>code challenges</category><category>github</category><category>learning</category></item><item><title>Twitter digest 2017 week 01</title><link>http://pybit.es/twitter_digest_201701.html</link><description>&lt;p&gt;On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PyBites</dc:creator><pubDate>Sat, 07 Jan 2017 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-07:/twitter_digest_201701.html</guid><category>twitter</category><category>news</category><category>python</category><category>podcasts</category><category>data</category><category>iterators</category><category>pythontips</category></item><item><title>Copy and Paste with Pyperclip</title><link>http://pybit.es/pyperclip.html</link><description>&lt;p&gt;Use the Pyperclip module to copy and paste with the clipboard!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Fri, 06 Jan 2017 12:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-06:/pyperclip.html</guid><category>python</category><category>tips</category><category>tricks</category><category>code</category><category>pybites</category></item><item><title>Code Challenge Pilot - code review</title><link>http://pybit.es/challenge_pilot_codereview.html</link><description>&lt;p&gt;In this post I review the code of challenge # 1 and refactor it to make it more Pythonic.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Thu, 05 Jan 2017 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-05:/challenge_pilot_codereview.html</guid><category>challenge</category><category>refactoring</category><category>code review</category><category>best practices</category><category>pythonic</category><category>git</category><category>Github</category><category>git flow</category><category>vim</category><category>assert</category></item><item><title>Code Challenge Pilot - calculate total time JS course</title><link>http://pybit.es/js_time_scraper_ch.html</link><description>&lt;p&gt;Coding Challenge to create a web scraper that calculates the total time of a Javascript Course.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Wed, 04 Jan 2017 20:01:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-04:/js_time_scraper_ch.html</guid><category>challenges</category><category>learning</category><category>python</category><category>beginners</category><category>code</category></item><item><title>A great book that makes algorithms accessible</title><link>http://pybit.es/grokking_algorithms.html</link><description>&lt;p&gt;I finished reading Grokking Algorithms, it's a very accessible resource for learning algorithms / data structures, highly recommended.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Tue, 03 Jan 2017 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-03:/grokking_algorithms.html</guid><category>algorithms</category><category>data structures</category><category>performance</category><category>collections</category></item><item><title>5 min guide to PEP8</title><link>http://pybit.es/pep8.html</link><description>&lt;p&gt;Today a post on PEP8, the Style Guide for Python Code&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Mon, 02 Jan 2017 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-02:/pep8.html</guid><category>pep8</category><category>cleancode</category><category>guidelines</category><category>coding style</category><category>best practices</category><category>pythonic</category><category>vim</category></item><item><title>Python Naming Conventions</title><link>http://pybit.es/naming_conventions.html</link><description>&lt;p&gt;Naming conventions can be tricky in Py. It's good to make sure we're all on the same page.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Sun, 01 Jan 2017 11:14:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2017-01-01:/naming_conventions.html</guid><category>learning</category><category>python</category><category>beginners</category><category>tips</category><category>cleancode</category><category>best-practices</category></item><item><title>3.6 new features</title><link>http://pybit.es/3.6_new.html</link><description>&lt;p&gt;Finally got a chance to look into Python 3.6's new features. In this post some highlights and pointers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Sat, 31 Dec 2016 11:39:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-31:/3.6_new.html</guid><category>3.6</category><category>features</category><category>release</category><category>asyncio</category><category>formatting</category><category>typing</category><category>dicts</category><category>secrets</category><category>generators</category><category>readability</category></item><item><title>Don't Let Indentation Catch You Out</title><link>http://pybit.es/indentation_tips.html</link><description>&lt;p&gt;Python indentation can be a cruel mistress. Let's get it right!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Fri, 30 Dec 2016 19:51:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-30:/indentation_tips.html</guid><category>python</category><category>learning</category><category>beginners</category><category>tips</category><category>cleancode</category><category>best-practices</category></item><item><title>Automate Tweeting: how to build a Twitterbot</title><link>http://pybit.es/automate-twitter.html</link><description>&lt;p&gt;In this post I will show you how we automate part of our Twitter posting using feedparser and tweepy.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Thu, 29 Dec 2016 01:28:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-29:/automate-twitter.html</guid><category>twitterapi</category><category>tweepy</category><category>feedparser</category><category>rss</category><category>logging</category><category>podcasts</category><category>virtualenv</category><category>pyvenv</category><category>venv</category><category>news</category><category>3.6</category></item><item><title>Learning from Python mistakes</title><link>http://pybit.es/py-mistakes.html</link><description>&lt;p&gt;In this post I summarize some great lessons Mike Pirnat shared in his free ebook 'How to make mistakes in Python'&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Wed, 28 Dec 2016 09:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-28:/py-mistakes.html</guid><category>best practices</category><category>pep8</category><category>virtualenv</category><category>cleancode</category><category>logging</category><category>pytest</category><category>ebook</category><category>refactoring</category><category>gotchas</category></item><item><title>How to create a nice-looking HTML page of your Kindle book highlights (notes)</title><link>http://pybit.es/kindle-json-to-html.html</link><description>&lt;p&gt;In this post I share a simple script to convert Bookcision JSON into a HTML page for your blog.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Tue, 27 Dec 2016 00:10:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-27:/kindle-json-to-html.html</guid><category>kindle</category><category>Template strings</category><category>json</category><category>html</category><category>books</category><category>bookcision</category><category>generators</category></item><item><title>A Quick Automate the Boring Stuff Review</title><link>http://pybit.es/automate_the_boring_stuff_review.html</link><description>&lt;p&gt;A quick review of the legendary free book, Automate the Boring Stuff.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Mon, 26 Dec 2016 23:00:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-26:/automate_the_boring_stuff_review.html</guid><category>python</category><category>review</category><category>books</category><category>learning</category><category>beginners</category><category>automation</category></item><item><title>Zip and ship, make an executable zipfile of your py project</title><link>http://pybit.es/zip-and-ship.html</link><description>&lt;p&gt;In this post I show an example how you can distribute your code as an executable zipfile, a neat trick I discovered in Chapter 6 of The Hitchhiker's Guide to Python&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Sun, 25 Dec 2016 09:06:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-25:/zip-and-ship.html</guid><category>zip</category><category>packaging</category><category>distribute</category><category>pip</category></item><item><title>Get a weekly digest from a Pelican blog</title><link>http://pybit.es/blog-digest.html</link><description>&lt;p&gt;In this post a script we use to get a weekly digest of our posts.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Sat, 24 Dec 2016 15:40:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-24:/blog-digest.html</guid><category>pelican</category><category>feedparser</category><category>rss</category></item><item><title>2016 py articles and useful books</title><link>http://pybit.es/py-articles-books2016.html</link><description>&lt;p&gt;Some of my Python articles I posted on my blog this year and useful books&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Fri, 23 Dec 2016 00:31:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-23:/py-articles-books2016.html</guid><category>pythonic</category><category>books</category><category>collections</category><category>tricks</category><category>tips</category><category>data science</category><category>matplotlib</category><category>pandas</category></item><item><title>The Beauty of Python Virtualenvs</title><link>http://pybit.es/the-beauty-of-virtualenv.html</link><description>&lt;p&gt;Python Virtualenvs are incredible yet sadly under utilised!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julian</dc:creator><pubDate>Thu, 22 Dec 2016 22:11:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-22:/the-beauty-of-virtualenv.html</guid><category>python</category><category>pip</category><category>virtualenv</category><category>venv</category></item><item><title>Read the stdlib: deque</title><link>http://pybit.es/collections-deque.html</link><description>&lt;p&gt;Use collections.deque to rotate letters in string (or elements in list). It has a native method which performs faster too.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Wed, 21 Dec 2016 00:05:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-21:/collections-deque.html</guid><category>collections</category><category>data structures</category><category>performance</category><category>stdlib</category><category>deque</category></item><item><title>How to get PyBites up and running on your machine</title><link>http://pybit.es/install-me.html</link><description>&lt;p&gt;This is a short post for Julian to get this Pelican blog up and running on his system.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pybites</dc:creator><pubDate>Tue, 20 Dec 2016 10:40:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-20:/install-me.html</guid><category>pelican</category><category>publishing</category><category>github</category><category>pip</category><category>virtualenv</category><category>git</category></item><item><title>__init__</title><link>http://pybit.es/hello-world.html</link><description>&lt;p&gt;Welcome to our new PyBites blog where our goal is to further develop our Python skills and share what we learn.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pybites</dc:creator><pubDate>Mon, 19 Dec 2016 10:26:00 +0100</pubDate><guid isPermaLink="false">tag:pybit.es,2016-12-19:/hello-world.html</guid><category>pelican</category><category>publishing</category><category>blog</category><category>pybites</category></item></channel></rss>
Loading