Skip to content

Instantly share code, notes, and snippets.

Created July 24, 2012 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3169428 to your computer and use it in GitHub Desktop.
Save anonymous/3169428 to your computer and use it in GitHub Desktop.
'''
Created on 27.06.2012
@author: xx
'''
from ccu import Logger
from ccu.ErrorManager import *
from datetime import datetime
from subprocess import *
from wx._misc import Sleep
import GlobalValues
import os
import os.path
import subprocess
def flashSingleMap(self):
self.timer = wx.Timer(self)
self.timer.Start(4000, oneShot=False)
self.Bind(wx.EVT_TIMER, partial(getX, message='foo'), self.timer)
def getX(self, message='none'):
self.Log.info('Logmessage: '+message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment