Use struct to unpack binary file

On Wed, 15 Feb 2023 at 00:57 'Kasper Laudrup' via Django users <
django-users@googlegroups.com> wrote:

> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4a904182-202d-b909-f9c0-7ecf9b3eee2c%40stacktrace.dk
> .
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKaoNbT%3DoLcRXW6ApuDPBNoMS60cA4xkP0zh7CzyAjpFMuj0vw%40mail.gmail.com.

Reply via email to