Twitter Digest 2017 Week 43

Posted by PyBites on Sun 29 October 2017 in Digest • Tagged with twitter, news, tips, python, OpenCV, Raspberry Pi, dictionaries, machine learning, NumPy, tests, Django, Jupyter, animation, Blender, Sublime, debugging, Pandas, learning, challenges, Docker, Deepo • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Bootstrap Your Next Python Project With Cookiecutter

Posted by Bob on Wed 25 October 2017 in Tools • Tagged with Cookiecutter, setup, testing, packages, modules, Bottle • 3 min read

I finally did it! I bootstrapped my first project with Cookiecutter. There is a lot to discover but wow this tool can save you a ton of time, making your project more professional.


Continue reading

How to Use Pdb to Debug Your Code

Posted by Bob on Tue 24 October 2017 in Modules • Tagged with pdb, debugging, troubleshooting, bugs, modules • 5 min read

The larger part of our coding time is spent reading and debugging code already written. For this Python's pdb is an unmissable module in your Python toolbox. In this article I show you the most common options and some practical examples.


Continue reading

Code Challenge 40 - Daily Python Tip Part 1 - Make a Web App

Posted by PyBites on Tue 24 October 2017 in Challenge • Tagged with Daily Python Tip, Django, Flask, Bottle, Twitter API, Tweepy • 2 min read

Hi Pythonistas, you heard of Daily Python Tip? It's a Twitter account that posts one python tip per day, run by @karlafej and @simecek. We partnered up with them and use their awesome collection of tips to build a web app (part 1) and a simple API (part 2).


Continue reading

Twitter Digest 2017 Week 42

Posted by PyBites on Sun 22 October 2017 in Digest • Tagged with twitter, news, tips, python, automation, pandas, GitHub, data visualisation, Flask, Django, tutorial, AWS Lambda, counter, PyGotham, videos, Jupyter, Computer Science, Regex • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Learning Python Decorators by Example

Posted by Bob on Fri 20 October 2017 in Concepts • Tagged with decorators, design patterns, logging, caching, memoization, Flask, Django, properties, classmethod, staticmethod, lru_cache, mock.patch, contextmanager • 4 min read

Decorators are a sometimes overlooked feature and they might be hard to grasp for beginning Pythonistas. I agree with Aaron Maxwell that mastering them "can massively magnify the positive impact of the code you write", so make sure you add them to your toolkit if not done so already. In this article I explain what they do, why you want to use them and give some practical examples.


Continue reading

Twitter Digest 2017 Week 41

Posted by PyBites on Sun 15 October 2017 in Digest • Tagged with twitter, news, tips, python, Django, books, Microservices, Docker, Flask, React, Machine Learning, Spotify, Data Science, SQLAlchemy, Jupyter, Data Visualisation, Ramp, Security, K-Means Clustering, decorators, Kubernetes, PyQt, qutebrowser, GUI • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Twitter Digest 2017 Week 40

Posted by PyBites on Sun 08 October 2017 in Digest • Tagged with twitter, news, tips, python, deep learning, Raspberry Pi, beginner, tutorial, code quality, Django, music, Jupyter, PyGame, PyInstaller, survey, Disqus, blockchain, Flask, Google Facets, Data Visualisation, MyPy • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


Continue reading

Code Challenge 39 - Writing Tests With Pytest

Posted by PyBites on Thu 05 October 2017 in Challenge • Tagged with pytest, testing, unittest, fixtures, BetterCodeHub, pytest-cov, CI, opensource, Hacktoberfest, TalkPython • 2 min read

Hi Pythonistas, let's add some more challenges for October. Following our Python testing with pytest book review we let you write some tests with this awesome framework.


Continue reading

Code Challenge 38 - Build Your Own Hacktoberfest Checker With Bottle

Posted by PyBites on Wed 04 October 2017 in Challenge • Tagged with Hacktoberfest, DigitalOcean, Bottle, GitHub, API, Web development • 2 min read

Hi Pythonistas, Hacktoberfest started. Let's make open source better and track our progress with a little app you will build using the Bottle web framework.


Continue reading