How to control Servo motor using my Libre Le Potato and Python

Servos are controlled via pulse width modulation (PWM). You can use the hardware PWM pins to control the servo. If you search sysfs pwm on Google or GitHub, you should find existing libraries to manipulate the sysfs files in your language of choice.

Try to avoid following Raspberry Pi based PWM libraries cause they’re usually poorly written and do things specifically for Raspberry Pi rather than the Linux standard way.