How to handle Python Script

Hi i couldn’t figure out how to handle python script. I wanna modify the code in python. Later i’ll insert some prepared code in it.

Hi, your question is really general. What would you like to do in detail?

For component scripting you need Professional or Premium that provide the Modeling tab to edit Python scripts. A script is a behaviour of a component. All behaviours of a component are listed under Behaviours in component structur.

Thanks for the answer Ralle i’m already Premium user. I wanted to modify python script. I found the answer here it is:

Actually it was so obvious i dont know how i missed it:D

ps = comp.findBehaviour(‘PythonScript’)

Code = ps.Script()