Click here to code!

Using Feedparser, Difflib and Plotly to Analyze PyBites Blog Tags

Posted by Mridu Bhatnagar on Mon 29 January 2018 in Learning • Tagged with bots, code challenge, guest, Plotly, learning • 3 min read

I came across PyBites through a random retweet by some other Pythonista and was intrigued by the challenges Bob and Julian post. Learning cool things by building something always fascinated me so I love and enjoy contributing to the PyBites community through solving random challenges that I find interesting. Long story short I picked up PyBites Code Challenge 03 and am sharing my solution here.


Continue reading

Learning Flask v Learning Django

Posted by Julian on Wed 16 August 2017 in Learning • Tagged with Django, 100DaysOfDjango, Flask, python, beginner, learning • 4 min read

An article on my experience learning Flask and Django.


Continue reading

From Challenge to Project - How I Made PyTrack, Learning Modules and Packaging

Posted by Martin Uribe on Fri 07 July 2017 in Learning • Tagged with challenges, guest, PyTrack, packaging, peewee, click, maya, learning • 6 min read

This is a guest post by Martin, a passionate Pythonista who turns our code challenges into cool projects. In this article he describes his process of building pyTrack, a simple task time tracker. Not only did he learn various Python modules - PeeWee, Maya and Click - he also stunned us delivering a project with great documentation and properly packaged code.


Continue reading

From Script to Project - Packaging Your Code in Python

Posted by Bob on Sat 01 July 2017 in Learning • Tagged with packaging, modules, init, imports, refactoring, karma, Twitter • 3 min read

This week's article is about packaging your Python code. Sounds daunting? Actually it is pretty simple.


Continue reading

Parsing Twitter Geo Data and Mocking API Calls by Example

Posted by Bob on Sat 17 June 2017 in Learning • Tagged with twitter, API, mock, geo, data, unittest, pickle, tweepy, testing, 100days • 2 min read

"Is this Bob or Julian?!" ... yeah tweeting from our shared @pybites Twitter account can be confusing! So I made a little script to parse the location of our tweets. Then I extended it to make it testable. I wrote a decorator to cache a couple of API outputs to be used with the unittest.mock patch decorator I learned about. A simple script turned into a good learning exercise.


Continue reading

How to Write a Python Subclass

Posted by Julian on Sat 17 June 2017 in Learning • Tagged with learning, code, programming, python, classes, beginners • 5 min read

In this article I cover Python subclasses and inheritance using a relatable code example scenario.


Continue reading

How to Write a Python Class

Posted by Julian on Thu 25 May 2017 in Learning • Tagged with learning, code, programming, python, classes, beginners • 4 min read

In this post I cover learning Python classes by walking through one of our 100 days of code submissions.


Continue reading

How to Create Your Own Steam Game Release Notifier

Posted by Julian on Fri 19 May 2017 in Learning • Tagged with learning, code, programming, python, sqlite3, xml, email, automation, tools, feedparser, game • 6 min read

In this post we demonstrate ways in which you can parse common data formats used in Python.


Continue reading

How to Parse Common Data Formats in Python

Posted by PyBites on Tue 16 May 2017 in Learning • Tagged with learning, code, programming, python, resources, csv, sqlite3, json, xml • 3 min read

In this post we demonstrate ways in which you can parse common data formats used in Python.


Continue reading

Learning Python by Building a Wisdom Quotes App

Posted by Dante Septem on Tue 09 May 2017 in Learning • Tagged with challenges, learning, guest, wikipedia, API, code review, flask, requests, quotes, forismatic • 2 min read

In this guest post Dante tells us about his Wisdom of the Ages app he built for PyBites code challenge 16 (reviewed here). The best way to learn Python is to build something and we are proud of our community achieving just that.


Continue reading