I am using github3.py library for my remaining code modules. So if possible can we use github3.py lib for cloning a repo or any other python library is also good.
-
under linux or windows??– GiovaniSalazarCommented Nov 12, 2019 at 15:02
-
I am using a mac. but after running the python code it can be run in any operating system only if we are using python inbuilt libraries else if we are running the terminal commands from python script then it can be dependent on the operating system right? Else it is operating system independent.– Shakti RajputCommented Nov 12, 2019 at 22:59
-
And with import subprocess ?– GiovaniSalazarCommented Nov 12, 2019 at 23:23
-
with import subprocess I am able to clone but I want through the python libraries.– Shakti RajputCommented Nov 12, 2019 at 23:51
Add a comment
|
1 Answer
Normally, you should be able to clone it the same way as a normal repository.
-
Actually I am not able to as it throws an error that it is not able to find link. fatal: unable to look up [email protected]:myusername (port 9418) (nodename nor servname provided, or not known)' Commented Nov 12, 2019 at 23:48