How to access actor's arguments in a running world using Python?

I am learning how to use the python plugin in unreal engine.
I want to read and write the actor’s arguments or functions using python.
The actor should be in a world running. For example in the simulation mode.
I tried the “unreal.GameplayStatics.get_actor_of_class()”, but I don’t know where to find the world_context_object and actor_class.

Thank you very much.

Well, python in unreal engine is a tool designed for editor.
It can visit the assets and actors in the editor mode. But in runtime, it will not work.
If you try to package the game, there will be no python in your package.