In babynames.py change print to python3 print(). In main loop through args, call extract_names().