Tip: The current model doesn't support files of this type

I can upload py files normally on computer A, but when I try to upload the same files on computer B, I get the message: “The current model doesn’t support files of this type.”

I am using the same Edge browser, the same Edge version, the same account, and the same files, but computer B still cannot upload them.

I just found the solution, and it’s ridiculous.

Reinstall Python and check the launcher box so that Windows will default to Python when running py files.

Set Python as the default program, and then you can upload py files.