Updated .gitignore, refs #16778

Updated .gitignore to include python specifics.