Re: [Python] Comando in bash letto in python

2016-11-05 Per discussione Francesco Barresi
Il modulo subprocess dovrebbe esserti di aiuto. Io lo uso con ottimi risultati proprio per quello che chiedi. Leggi: https://pymotw.com/2/subprocess/ https://docs.python.org/2/library/subprocess.html Ciao Francesco Il 05/Nov/2016 11:16, "Fundor333" ha scritto: > Ho un comando bash che voglio e

[Python] Comando in bash letto in python

2016-11-05 Per discussione Fundor333
Ho un comando bash che voglio eseguire all'interno di uno script /git log --pretty=format:"%ae|%an"/ che torna un output. Come faccio a leggere l'output per elaborarlo? Grazie mille -- Fundor333 ___ Python mailing list Python@lists.python.it ht