Tag Archive

The following is a list of all entries tagged with python:

SQLite3: Unable to Open Database File

Recently, I’m working on my Skypiea project which is powered by SQLite3 and Python (as CGI script). Yesterday I encountered a program: When the web server ran a CGI script which would update the database, I got an error message said “sqlite3.OperationalError: unable to open database file“.

I searched the web and Google told me I [...]


Simple Weather Script for Conky

Wanna Conky to show your local weather? You might had found tons of solutions already on the web, but here comes a simpler one: yahoo_weather.py.
Requirement:

Python >= 2.5

How to use it:

Download yahoo.weather.py.
Edit the file, fill in required parameters (read CONFIGURATION first).
Add ${execi 3600 python the_path_to/yahoo_weahter.py} to your .conkyrc.


Windows Vista: Install Python 2.6 for all users

Python 2.6 final was release yesterday. If you are using Windows Vista and you want to install Python 2.6 for all users, but the “Vista Note” from the release page does not work for you, you may try this:

Run the command line program (cmd/powershell) as Administrator (right-click -> Run as Administrator), then issue the following [...]


Skypiea

What is Skypiea?
Skypiea is a file hosting service with file management facilities.
Project Repository

GitHub Page:
Skypiea

Clone URL:
git://github.com/jaux/skypiea.git

TODOs

User management.[*]
HTML, CSS, Javascript.
Back-port to Python 2.4 and add MySQL support for Godaddy hosting.
RSS

Ideas

Host on Slicehost, FTP (or other methods) to Godaddy (or S3 in the future).
Immigrate to FastCGI/SCGI for performance.
Auto grab files periodically with Email notification.