Change Bone Location

Hello, I am trying to move a bone using python, but can’t figure out how. I have the armature Object in a variable. I have tried accessing the bones through “Armature.bones[“bone_name”]”, but there doesn’t seem to be a method there to let me move them. Any help is much appreciated!

Figured it out. If anyone’s interested it’s “Object.pose.bones[“bone_name”].location = Vector((float, float, float))”.