Archive - Page 6
Why Python in the Browser Isn't Enough
Integrate Mapbox into your Web App using only Python
Learning to use Pillow through my love of crafting
Introducing the RichText component
Surviving Quarantine with a Slack Bot and Board Games
Using Daily's video chat API with Anvil
Collect Segment Data from Anvil Pure-Python Web Apps
Want to collect customer interaction data from your web apps? You don’t need to be a multi-framework JS guru!
See how to use Segment’s customer data platform to collect customer interaction data from your web apps, and send it anywhere - all using nothing but Python.
Control the Rainbow HAT from the web
Make a web app that controls your Raspberry Pi! All you’ll need is Python.
Pimoroni’s Rainbow HAT lets you display text, lights and sound on your Raspberry Pi. I’ll show you how to write a Python program to control it from a web page, using Anvil.
Getting Photos from Mars with Python
Get images from space, with NASA’s API!
Everyone’s waiting on the next photos from Perseverance, NASA’s latest Mars rover. I’ll show you how to use NASA’s API to get the latest images, as soon as they arrive - and send them straight to your inbox!
A Lazy Loading Module
Here’s a Python challenge: I’ve got data. I use in many places. I only want to load it once. And I don’t want to load it until I need it. How can I make that slick?
Well, since Python 3.7, modules can have a __getattr__
function! Let’s create a module with attributes that only load when we access them.
12 Reasons to Use Python for Front-End Web Development
What would web development look like if it were 100% Python - even the front end?
A lot better, that’s what! Here are 12 reasons why pure-Python web development is better than wrestling with JS, HTML, CSS and dozens of frameworks.