#!/usr/bin/env python2.7

from pscf.io import *
from pscf.version import *
from pscf.outfile import *
import string 

'''
USAGE
  scf_out.py filename
PURPOSE
  Reads and parses scf output file with path filename.
  Prints the dictionary of attributes
'''
import sys 

# Read file "filename"
filename = sys.argv[1]
x = OutFile(filename)
print x

# Print dictionary of attributes
# for key in x.__dict__.keys():
#    print key, ':', x.__dict__[key]
