#web development
6 posts tagged web development. Clear filter
-
Reshape an Array of Form Inputs for Flask with getlist()
This is how to reshape an array using Python without Numpy. This is a fairly simple task but it can be a little confusing to wrap your head around. I ran into this problem while working with Flask,...
-
How to Decorate Imported Libs in Python for Jinja Template Filters in Flask
To decorate an imported function in Python you would do something like this in ./lib.py def functionname(): function body And then in your program you could decorate it like this from lib import...
-
How to Create a Slug in Python with the Re Module
There are a few 3rd party modules that do this sort of thing. But there is a pretty solution using out of the box Python functionality. You don't have to install any dependencies if you use the re...
-
My First Python Package on PyPi - Command Line Blog
I wrote my first Python package over the weekend. It is a simple package that adds a basic blog API to an existing Flask application. It's called commandlineblog and is available on Github and on...
-
How To Get A Dict from Flask Request Form
You just call `to_dict` on the `request.form` object and you get a dictionary you can work with.
-
The survey for people who make websites
I took the survey! Click here to take it →