NameError: name 'open' is not defined with Jetson.GPIO on the xavier nx

Hello, I did but the motor is not responding as expected, so I expected i might be missing something which is why I posted here to help me figure out what. Below is the modified example to the simple_pwm for my case:

import Jetson.GPIO as GPIO

import time

control = [5,5.5,6,6.5,7,7.5,8,8.5,9,9.5,10]

#control = [5, 7.5, 10]

servo = 32

GPIO.setmode(GPIO.BOARD)

GPIO.setup(servo, GPIO.OUT)
# in servo motor,
# 1ms pulse for 0 degree (LEFT)
# 1.5ms pulse for 90 degree (MIDDLE)
# 2ms pulse for 180 degree (RIGHT)

# so for 50hz, one frequency is 20ms
# duty cycle for 0 degree = (1/20)*100 = 5%
# duty cycle for 90 degree = (1.5/20)*100 = 7.5%
# duty cycle for 180 degree = (2/20)*100 = 10%

p=GPIO.PWM(servo,50) # 50hz frequency

p.start(2.5) # starting duty cycle ( it set the servo to 0 degree )

try:
        while True:
                for x in range(len(control)):
                        p.ChangeDutyCycle(control[x])
                        time.sleep(0.015)
                        print(control[x])

                for x in range(len(control) - 2, 0, -1):
                        p.ChangeDutyCycle(control[x])
                        time.sleep(0.015)
                        print(control[x])

except KeyboardInterrupt:
        p.stop()
        GPIO.cleanup()

With this configuration: I expect it to turn left and right almost none stop through the angles, 0, 180. But it only occassionally turns about 45 degrees, gives a long pause, then goes back to zero then, pause then go back to about 45 degrees and so on.
What is the system file path corresponding to pwm on pin 32, so i can try the debug you suggested here directly? Then I will update you about situation, or if you already have an idea why i get this behavior?
thanks.