If there’s a one-step means of notifying Nightingale or Songbird that all of your media files have moved to a different location via the music players’ UIs, I didn’t see it, so I solved my problem with a short (~150-line) Python script [Python 3.6 (Windows, 64-bit)] that, with input via a few prompts, connects to […]
Category: Python
Today, I set up Flaskr (GitHub repository), one of the Flask demo apps, so that I could poke around Flask a bit. The only real speed bump was a ModuleNotFoundError for _sqlite3: Note that, to make the above lines from my flaskr error log more readable, I’ve removed the timestamps, process IDs, and requesting IP […]
So you’ve installed a later and greater version of Python (Python 3.6.1 in my case) in /usr/local/bin and would like it to be used instead of your server’s default (and presumably older) python version when you type python at the shell prompt after logging in? The solution is widely documented. Add the following to the […]
I set out to get WSGI going, with Python 3.x, on my CentOS 7.3 VPS. Initially, I began by trying to follow the path laid out in a 2011 blog post (Building mod_wsgi with EasyApache for WHM/cPanel) but with current equivalents of Python and mod_wsgi. That’s a very lucidly written article and it’s apparent from […]