Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/e/n/enigma2-plugins-HEAD/autotimer/src/AutoTimer.py   enigma2-plugins(Download)
# Plugins Config
from xml.etree.cElementTree import parse as cet_parse
from os import path as os_path
from AutoTimerConfiguration import parseConfig, buildConfig
 
	def getXml(self):
		return buildConfig(self.defaultTimer, self.timers, webif = True)
 
	def writeXml(self):
		file = open(XML_CONFIG, 'w')
		file.writelines(buildConfig(self.defaultTimer, self.timers))