+ 1

How can I use Git in Python

I have installed Git and discord.py on my computer. How can I use Git in Python when somebody sends a command to my bot. I don't need help in Discord, but I do need help in connecting Python with Git.

24th May 2022, 4:46 PM
Kind_Cat
Kind_Cat - avatar
5 Respostas
+ 1
I don't know about any python wrapper for git. But you can run commands from python. So, you could run git commands from the script.
25th May 2022, 6:37 AM
Mustafa A
Mustafa A - avatar
+ 1
Kind_Cat Or you can use this python git wrapper. It's better that way. https://github.com/juanbenitopr/python-git-wrapper
25th May 2022, 7:07 AM
Mustafa A
Mustafa A - avatar
0
Mustafa A how can I run commands from Python?
25th May 2022, 7:03 AM
Kind_Cat
Kind_Cat - avatar
0
Thank you
25th May 2022, 7:06 AM
Kind_Cat
Kind_Cat - avatar