Obfuscated Python ( was: import )

Steven D. Majewski (sdm7g@elvis.med.virginia.edu)
Thu, 24 Mar 1994 16:07:37 -0500

Python 1.0.1 (Mar 15 1994)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> from newmod import *
>>> ImportModule( '../Tmp/trtest.py', '#!@$%&~' )
>>> dir()
['#!@$%&~', 'ImportModule', '__name__', 'caller', 'importmodule', 'newmodule', 'sys']
>>>m = dir()[0]
>>> m
'#!@$%&~'
>>> from names import *
>>> module(m)
<module '#!@$%&~'>
>>>

Needless to say, It'll be a big boost in the next Obfuscated Python
contest to be able to have a '<module '#!@$%&~'>' !!! :-)

- Steve M.