2 from os
.path
import exists
3 from direct
.showbase
.DirectObject
import DirectObject
6 class LogicsTools(DirectObject
):
9 def runtime(): return not exists('main.py')
14 if sys
.platform
== 'win32' and not exists(exists(home
+ '/.wine/')):
15 if path
.startswith('/'):
16 path
= path
[1] + ':\\' + path
[3:]
17 path
= path
.replace('/', '\\')