Define Python function in Julia file with PythonCall?

Thanks, that’s exactly what I was looking for