<filename>addressgen.py
#!/usr/bin/python

import sys
from lib.brainwallet import private_key, public_key
from lib.secp256k1 import secp256k1

if __name__ == "__main__":
    
    phrase = str(sys.argv[1])
  
    print "pass phrase: " + phrase
    print "private key: " + private_key(phrase) 
    print "BTC address: " + public_key(phrase) 

<filename>addressgen.py
#!/usr/bin/python

import sys
from lib.brainwallet import private_key, public_key
from lib.secp256k1 import secp256k1

if __name__ == "__main__":
    
    phrase = str(sys.argv[1])
  
    print "pass phrase: " + phrase
    print "private key: " + private_key(phrase) 
    print "BTC address: " + public_key(phrase) 

#!/usr/bin/python