Files
pyinstaller/buildtests/test6.py
T
giovannibajo b98a53df92 Imported Python Installer 5b5
git-svn-id: http://svn.pyinstaller.org/trunk@2 8dd32b29-ccff-0310-8a9a-9233e24343b1
2005-09-02 17:15:02 +00:00

14 lines
312 B
Python

import sys, os
import test6x
print "test6x.x is", test6x.x
txt = """\
x = %d
""" % (test6x.x + 1)
if hasattr(sys, 'frozen'):
open(os.path.join(os.path.dirname(sys.executable), 'test6x.py'), 'w').write(txt)
else:
open(test6x.__file__, 'w').write(txt)
reload(test6x)
print "test6x.x is now", test6x.x