home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 116
/
FreelogNo116-JuilletSeptembre2013.iso
/
GestionFichiers
/
metamorphose
/
metamorphose2_0.8.2_setup.exe
/
metamorphose2.exe
/
app.pyo
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2011-01-12
|
2KB
|
65 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.6)
from __future__ import print_function
import sys
import os
def debug_print(msg):
if debug:
try:
print(msg)
print('invalid char in msg')
def __set_real_path():
if hasattr(sys, 'frozen'):
path = os.path.dirname(sys.executable)
else:
path = False
for path in sys.path:
if 'metamorphose' in path:
path = path.decode(sys.getfilesystemencoding())
break
continue
if not path:
print('Could not determine application path.\nMake sure the application is correctly installed.\n')
sys.exit()
return os.path.join(path)
realPath = __set_real_path()
def get_real_path(file):
return os.path.join(realPath, file)
def __get_version():
try:
f = open(get_real_path('version'))
except:
v = 'unknown'
v = f.readline().strip()
f.close()
return v + u' (beta)'
version = __get_version()
language = ''
warn = []
bad = []
errorLog = []
items = []
REmsg = False
recursiveFolderOn = False
autoModeLevel = False
showTimes = False
debug = False
fontParams = { }
prefs = False