Skip to content
Advertisement

AttributeError: ‘FileInput’ object has no attribute ‘read’

This is my code

JavaScript

I’m getting this error, AttributeError: 'FileInput' object has no attribute 'read'

Advertisement

Answer

For a single file use open

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement