Note that issues in this repository are only for bugs or feature requests in the pywin32.
If you need support or help using this package, please follow these instructions - support or help requests will be closed without comment.
For all bugs, please provide the following information.
Expected behavior and actual behavior.
Steps to reproduce the problem.
Version of Python and pywin32
When I use pyinstaller to package the code into an executable program, I get an error when I run the executable, but not when I run the source file directly, error: "An error occurred: 'pywintypes.datetime' object has no attribute 'astimezone' ", the error raised by "win32file.SetFileTime(...)"
Note that issues in this repository are only for bugs or feature requests in the pywin32.
If you need support or help using this package, please follow these instructions - support or help requests will be closed without comment.
For all bugs, please provide the following information.
Expected behavior and actual behavior.
Steps to reproduce the problem.
Version of Python and pywin32
When I use pyinstaller to package the code into an executable program, I get an error when I run the executable, but not when I run the source file directly, error: "An error occurred: 'pywintypes.datetime' object has no attribute 'astimezone' ", the error raised by "win32file.SetFileTime(...)"
the test source code as bellow: