Thanks for your reply. The .py code fille in question contains no headers or other information in it. It is a standard python code file. I am adjusting the path prior to executing the code on Databricks so it knows where to get the file. The exact error I'm getting is this:
NotebookImportException: Unable to import holidays.main. Importing notebooks directly is not supported. Use dbutils.import_notebook("holidays.main") instead.
By the way, I tried using the dbutils method and it didn't work either. I've never run into this before but I'm using a bundle this time. The bundle must be indicating the file is a notebook somehow. I just haven't figured out where in the configuration it specifies that the py file is a notebook.