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" <[email protected]> ha scritto:

> 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
> [email protected]
> http://lists.python.it/mailman/listinfo/python
>
>
_______________________________________________
Python mailing list
[email protected]
http://lists.python.it/mailman/listinfo/python

Rispondere a