Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import os.path
- def get_my_path():
- import fake
- strpath = str(fake).split()[3][1:-9]
- os.remove( os.path.join( strpath, 'fake.pyc' ) )
- return strpath
- libpath = os.path.abspath(get_my_path())
- print "libpath =", libpath
- os.environ['PATH'] = libpath + ";" + os.environ['PATH']
- from PyCEGUI import *
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement