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

Twitter Digest 2017 Week 38

Posted by PyBites on Sun 24 September 2017 in Digest • Tagged with twitter, news, tips, python, Flask, Twilio, videos, learning, cheat sheets, Data Science, tutorials, Git, books, podcast, Machine Learning, security, AWS, logging • 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

How to Learn Python

Posted by PyBites on Sat 16 September 2017 in Special • Tagged with python, learning, story, books, resources, special, learn-by-doing, inspiration, pybites, blogging, GitHub, Flask, 100DaysOfCode, automation, career, development, pythonistas, freeCodeCamp, howto, zen, software, code quality, programming • 7 min read

Python is a mature language, easy to learn and here to stay. But where to start? We see a lot of new Pythonistas posting questions like: How to learn Python?, Where do I start?, What approach to take?. We were there once too. Now with 9 months of PyBites and 200 articles under our belt, we share how we learned Python.


Continue reading

Twitter Digest 2017 Week 36

Posted by PyBites on Sun 10 September 2017 in Digest • Tagged with twitter, news, tips, python, Machine Learning, Data Visualisation, Git, Data Science, Books, Bots, Jupyter, Flask, REST, CLI, Pandas, Slack, Django, pinclone, Pipenv • 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

Making a Banner Generator With Pillow and Flask

Posted by Bob on Sat 19 August 2017 in Tools • Tagged with Pillow, Flask, Heroku, Flask-WTF, Flask-SQLAlchemy, challenges, PyBites Banner Generator, images • 4 min read

In this article I will take last week's banner.py Pillow script and integrate it into a Flask app.


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

Code Challenge 31 - Image Manipulation With Pillow - Review

Posted by PyBites on Mon 14 August 2017 in Challenges • Tagged with codechallenges, images, Pillow, Flask, newquote, utilities, OpenCV, Anaconda, conda, face recognition, Thumbler, thumbnails • 1 min read

In this article we review last week's Image Manipulation With Pillow code challenge. Some nice submissions to share ...


Continue reading

Twitter digest 2017 week 32

Posted by PyBites on Sun 13 August 2017 in Digest • Tagged with twitter, news, tips, python, Docker, women, history, regex, Flask, IPython, SQL, webscraping, GitHub, Pandas, PyConAU, data science, BeeWare, hacking, Bash, scripting • 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