planetpython.org planetpython.org

Stack Abuse: Building a Todo App with Flask in Python

Introduction In this tutorial, we are going to build an API, or a web service, for a todo app. The API service will be implemented using a REST-based architecture. Our app will have the following main features: Create an item in the todo list Read the complete todo list Update the items with status as "Not Started", "In Progress", or "Complete" Delete the items from the list What is REST? REST, or...

python every day

Python Development on macOS with pyenv

UPDATED: June 11, 2019John asked me if I had written a blog post on getting my Mac setup with pyenv. I hadn’t… So here it goes!MacOS comes with Python 2.7 out-of-the-box. It’s great for first-timers and basic development, but as soon as you start working on more than one project you quickly realize that your projects may (will) have conflicting dependencies. One of those conflicting dependencies may be Python itself. How do you...