Bottle – Python micro framework
Like Flask, Bottle is a Python micro-framework. It is so micro that it only consists of a single file. Whilst Flask is already a fairly small framework, some developers prefer Bottle, mainly for its...
Like Flask, Bottle is a Python micro-framework. It is so micro that it only consists of a single file. Whilst Flask is already a fairly small framework, some developers prefer Bottle, mainly for its...
I am working my way through this excellent tutorial, covering Python3, Flask, Angular, Heroku, SQLAlchemy, Alembic, requests, Beautiful Soup, NLTK, Redis and D3. Here are some extra notes To stop me from blindly copying/pasting...
Flask is a popular Python-based micro framework. Here is how to install it on WebFaction. This is based on the Flask instructions and the WebFaction instructions. Log into your WebFaction control panel Domains/Websites ->...
As I’m making my way through Natural Language Processing with Python and Data Science from Scratch: First Principles with Python, the first step is to set up the development environment. My first attempt was to install numpy,...
Here is a simple websockets demo, using Python and Bottle, based on the example on the Bottle website Requirements: pip install bottle pip install python-dev pip install gevent-websocket Create websockets.py, from the source code...
If you’re developing a websocket app you may need to throw some tests at it. Whilst looking for a websocket client I came across this client, which makes it very easy to generate websocket...
To restart CherryPy on your WebFaction account: ps -u $USER -o pid,command Find the relevant process (id) kill <id> ./autostart.cgi
To set up websockets on a host can take a few extra steps. The host needs to know what to do with the websocket traffic. It took a few attempts to get a Python/websockets...
In 1999 I took over the running of an online community for business and personal coaches. Initially a simple email discussion list run on the Mailman open source software, once we hit 500+ members...
Our children’s school asked me to teach the 14 – 16 year old pupils some electronics. To make it more interesting I threw in some robotics. During an intense teaching period I spent morning sessions...