Hi. I have a script in Python that organizes files into folders based on a file and folder list in an Excel file.
Full disclosure: My Python and coding skills are pretty basic and I did get help from ChatGPT when creating this script The script is working fine and I get no errors when I run the python file (pyw). Now, I want this script to be accessible to anyone, regardless of whether they have Python installed or not, and regardless of Python version, so I'm encapsulating the script in an .exe file using PyInstaller. When running the .exe created by PyInstaller - the script functions correctly and the results are as intended, but I get the following error message: *Unhandled exception in scriptFailed to exectue script 'files_to_folders_per_excel_v2.2' due to unhandled exception: join() argument must be str, bytes, or os.PathLike object, not 'float'Traceback (most recent call last):File "files_to_folders_per_excel_v2.2.pyw", line 64, in <module>File "ntpath.py", line 143, in joinFile "genericpath.py", line 152, in _check_arg_typesTypeError: join() argument must be str, bytes, or os.PathLike object, not 'float'* Here's the Python code in github: https://github.com/zevelj/files-to-folders/blob/main/files_to_folders_per_excel_v2.1.pyw If anyone has any ideas how I can make the exe file run without any error messages, please let me know. Thanks! -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/f9c01e30-df36-4ca7-a429-ee9097bc5639n%40googlegroups.com.
