how i can use jetson tx2 gpio with python

hello

how i can use jetson tx2 gpio with python
is there any library for it .

Hi,

Python GPIO library:
https://github.com/vitiral/gpio

Thanks.

Thank you so much aastalll

hi AastaLLL

PermissionError(13, ‘Permission denied’)

/home/nvidia/.local/lib/python3.5/site-packages/gpio.py(75)wrapped()
-> with open(pjoin(gpio_root, ‘export’), ‘w’) as f:
(Pdb)

what i can do to solve the problem

Run your script with sudo, or otherwise arrange for the permissions of the executing user to access the sysfs GPIO files.

thank you snarky
it’s work