Code Challenge 12 - Build a Tic-tac-toe Game

Posted by PyBites on Mon 27 March 2017 in Challenges • Tagged with codechallenges, learning, game, tictactoe, AI • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! After last week's conceptual challenge (generators), we'd like to challenge you this week to build Tic-tac-toe. Every time we do games (previously Word Values and Hangman) we learn a lot. Enjoy and we review solutions end of this week.


Continue reading

Code Challenge 11 - Generators for Fun and Profit - Review

Posted by PyBites on Sat 25 March 2017 in Challenges • Tagged with codechallenges, code review, learning, yield, Counter, glob, regex • 2 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Code Challenge 11 - Generators for Fun and Profit

Posted by PyBites on Mon 20 March 2017 in Challenges • Tagged with codechallenges, learning, generators, unix • 2 min read

A new week, a new 'bite' of Python coding! After last week's article on generators we will get you to practice a bit more with them in our new challenge. Good luck and have fun.


Continue reading

Code Challenge 10 - Build a Hangman Game - Review

Posted by PyBites on Sat 18 March 2017 in Challenges • Tagged with codechallenges, code review, learning, game, hangman, forks, dunder • 2 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Code Challenge 10 - Build a Hangman Game

Posted by PyBites on Mon 13 March 2017 in Challenges • Tagged with codechallenges, learning, game, hangman, movies, github • 2 min read

A new week, a new 'bite' of Python coding! This week we will build a Hangman game. Good luck and have fun.


Continue reading

Code Challenge 09 - With Statement / Context Manager - Review

Posted by PyBites on Sat 11 March 2017 in Challenges • Tagged with codechallenges, code review, learning, with, contextmanagers, Paramiko, pytest • 2 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading

Simple API Part 2 - Building a Deep Work Logger with Flask, Slack and Google Docs

Posted by Bob on Fri 10 March 2017 in Tools • Tagged with Flask, Slack, Google docs, Heroku, APIs, pygsheets, git, commands, productivity, learning • 3 min read

After Simple API - part 1 a more practical app in this part 2 tutorial: a Deep Work logger integrating Google docs and Slack, including deployment of the app to Heroku.


Continue reading

Comparing Lists with Difflib

Posted by Julian on Wed 08 March 2017 in Learning • Tagged with python, learning, beginners, stdlib, tips, cleancode, bestpractices, pythonic • 3 min read

Learn to compare blocks of text with the difflib module.


Continue reading

Code Challenge 09 - Give the With Statement some Love and Create a Context Manager

Posted by PyBites on Mon 06 March 2017 in Challenges • Tagged with codechallenges, learning, with, contextlib, contextmanagers, decorators, generators • 1 min read

A new week, more coding! This week we have a free form exercise. This week you will implement your own Context Manager (= support with on your object).


Continue reading

Code Challenge 08 - House Inventory Tracker - Review

Posted by PyBites on Sun 05 March 2017 in Challenges • Tagged with codechallenges, code review, learning, inventory, Flask, APIs, data structures • 3 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading