OSError: [WinError 1296] The requested file operation failed because the storage policy blocks that type of file. For more information, contact your system administrator

Please help me to resolve this issue

It’s not a Python problem. A web search turns up discussions regarding ERROR_CONTENT_BLOCKED (1296, or 0x80070510) related to the anti-malware programs “HP SureClick” and “Macrium Image Guardian”.