I have a desire to call the python script from the mysql query.
like we call the procedure in mysql : call procedurename();
just like as above is there any way i
This does not seem to be possible in MySQL, for security reasons. You can have a look at this related question Executing shell command from MySQL. You can however do this in other database like oracle. In Postgresql there is also support to create python stored procedures in the database. You could use this technique to have your database triggers run python code.