Translate NewAcct.pl line-by-line to NewAcct.py