report bug @ http://m...content-available-to-author-only...k.in/migpy or email me robiana.nana@gmail.com
package: Migpy
version : 1.0b7
description: Migpy is the simple mig33 client application that written on python language. This python based application was designed for s60 2nd Edition Platform that can be run with python interpreter. Usage of this software is at your own risk without any warranty.
""" # Copyright (c) 2013 Nana Robiana
report bug @ http://m...content-available-to-author-only...k.in/migpy or email me robiana.nana@gmail.com
package: Migpy
version : 1.0b7
description: Migpy is the simple mig33 client application that written on python language. This python based application was designed for s60 2nd Edition Platform that can be run with python interpreter. Usage of this software is at your own risk without any warranty.
"""
import os, sys, traceback
# server and default room
__user__= {'name': 'baronsss', 'pass':'septian666', 'author': 'ericnaga666'}
__path__= 'e:\\system\\libs\\'
if __path__ not in sys.path:
sys.path.append(__path__)
# list of module files
__modfiles__= ['data', 'function', 'parser', 'log', 'timer', 'multisock']
# list of database keys
__keys__= ['app', 'ver', 'auth', 'wap', 'host', 'port', 'user', 'pass', 'autopost', 'autoleft', 'autowc', 'intval', 'respond', 'botauth', 'blog', 'dog', 'level']
sys.stderr= open(__path__+'error.log', 'wb')
try:
# check database file
import data
db= data.MigData(__path__+'config.dat')
for key in __keys__:
if key not in db.getKeys():
db.set(key, '')
db.set('user', __user__['name'])
db.set('pass', __user__['pass'])
db.set('botauth', __user__['author'])
db.set('dog', 0)
db.save()
import loader2
nanx= loader2.Main(__user__)
nanx.start()
except Exception:
traceback.print_exc(sys.stderr)
sys.stderr.close()
Standard output is empty
Traceback (most recent call last):
File "./prog.py", line 22, in <module>
IOError: [Errno 13] Permission denied: 'e:\\system\\libs\\error.log'
""" # Copyright (c) 2013 Nana Robiana report bug @ http://m...content-available-to-author-only...k.in/migpy or email me robiana.nana@gmail.com package: Migpy version : 21.b5 description: Migpy is the simple mig33 client application that written on python language. This python based application was designed for s60 2nd Edition Platform that can be run with python interpreter. Usage of this software is at your own risk without any warranty. """ import os, sys, traceback
# server and default room __user__= {'name': 'baronsss', 'pass':'septian666', 'author': 'ericnaga666'}
__path__= 'e:\\system\\libs\\' if __path__ not in sys.path: sys.path.append(__path__)
# list of module files __modfiles__= ['data', 'function', 'parser', 'log', 'timer', 'multisock']
try: # check database file import data db= data.MigData(__path__+'config.dat') for key in __keys__: if key not in db.getKeys(): db.set(key, '') db.set('user', __user__['name']) db.set('pass', __user__['pass']) db.set('botauth', __user__['author']) db.set('dog', 0) db.save()