That should be about right. Are there any parameters you need to specify, such as myclass.myfunction(var1)? What error message are you getting? Oh yeah, and have you imported the class in your script?