On 14/02/2023 17.52, Lucas Matos Matos wrote:
In my case i want to take the file with a input type file from a form, that is in binary, open it and convert it to a text file, identify its characteristics and return something based in its characteristics to the user.
This might be what you're looking for: https://pypi.org/project/python-magic/ Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users/4a904182-202d-b909-f9c0-7ecf9b3eee2c%40stacktrace.dk.
OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature

