Code conversion

if i write code in python then can i convert this code in pine script?