view start_developer.py @ 10:73d9286c22cf traipse_dev

Adds some superb CherryPy features! Components can be deleted now too!
author sirebral
date Fri, 17 Jul 2009 08:13:50 -0500
parents 4385a7d0efd1
children 0b79d5dbbe9e
line wrap: on
line source

#!/usr/bin/env python

import sys
import os

import pyver
pyver.checkPyVersion()


for key in sys.modules.keys():
    if 'orpg' in key:
        del sys.modules[key]

from orpg.orpg_wx import *
import orpg.main

if WXLOADED:
    mainapp = orpg.main.orpgApp(0)
    mainapp.MainLoop()
else:
    print "You really really need wx!"