Tag Archive
The following is a list of all entries tagged with python:
SQLite3: Unable to Open Database File
Filed in Programming, December 18, 2008, 9:52 pmRecently, 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
Filed in Programming, December 13, 2008, 1:32 amWanna 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
Filed in Programming, October 2, 2008, 6:19 pmPython 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
Filed in Personal, September 30, 2007, 1:10 amWhat 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.