How to run and handle bash commands in python?
I have python app and want to clone git repo. I need to write "git clone", enter "username" and "password". How to do it?
git clone https://github.com/user/awesomerepo.git username: login password: password
upd: I want to clone private repos and because I rly need to input usr/pass :)
git clone https://user:firstname.lastname@example.org/user/awesomerepo.git
You are probably better off using a dedicated Git interaction library for Python, though. See Python Git Module experiences?.