Python Program to connect with Blynk

I am trying to use Raspberry PI3 to connect with BLYNK, i am using python for connecting.
But the always returns authentication token not valid. Can you share the procedure to work with
any linux device with python will be great help forme ?