Mike

Python: A Simple Step-by-Step SQLite Tutorial

SQLite is a self-contained, server-less, config-free transactional SQL database engine. Python gained the sqlite3 module all the way back in version 2.5 which means that you can create SQLite database with any current Python without downloading any additional dependencies. Mozilla uses SQLite databases for its popular Firefox browser to store bookmarks and other various pieces

Python: A Simple Step-by-Step SQLite Tutorial Read More »

wxPython: How to Programmatically Change wx.Notebook Pages

Occasionally I’ll see someone on the wxPython users group ask about how to make the wx.Notebook change pages (or tabs) programmatically. So I decided it was about time I figured it out. Here is some code that works for me: import random import wx ######################################################################## class TabPanel(wx.Panel): #———————————————————————- def __init__(self, parent, page): “””””” wx.Panel.__init__(self, parent=parent)

wxPython: How to Programmatically Change wx.Notebook Pages Read More »

wxPython: Creating Your Own Cross Platform Process Monitor with psutil

This week, I came across a fun Python project named psutil on Google Code. It says it works on Linux, Windows, OSX and FreeBSD. What it does is grab all the running processes and gives you information on them and also gives you the ability to terminate them. So I thought it would be fun

wxPython: Creating Your Own Cross Platform Process Monitor with psutil Read More »