Login EntryPoint via Python script

I am sending a JSON to a EntryPoint on my SuiteCRM via a script in python, when i put authentication=false on suitecrm i can do my entrypoint work correctly, but when i put on True, i can’t be able to make a login using my python script and post requests.
How can i do that?? Someone can help me.
Thnks!!

I am using Python 3.7 and requests library